<!doctype html>
<html 
      lang="en"
      dir="ltr">
  <head>
    <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com">
    <meta name="google-signin-scope"
          content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award">
    <meta property="og:site_name" content="Android Developers">
    <meta property="og:type" content="website"><meta name="theme-color" content="#3ddc84"><meta charset="utf-8">
    <meta content="IE=Edge" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    

    <link rel="manifest" href="/_pwa/android/manifest.json"
          crossorigin="use-credentials">
    <link rel="preconnect" href="//www.gstatic.com" crossorigin>
    <link rel="preconnect" href="//fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="//fonts.googleapis.com" crossorigin>
    <link rel="preconnect" href="//apis.google.com" crossorigin>
    <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,600,700|Google+Sans+Text:400,400italic,500,500italic,600,600italic,700,700italic|Roboto+Mono:400,500,700&display=swap">
      <link rel="stylesheet"
            href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/css/rebrand-app.css">
      <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/images/rebrand/favicon.svg">
    <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/images/rebrand/touchicon-180.png"><link rel="canonical" href="https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo"><link rel="search" type="application/opensearchdescription+xml"
            title="Android Developers" href="https://developer.android.com/s/opensearch.xml">
      <link rel="alternate" hreflang="en"
          href="https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo" /><link rel="alternate" hreflang="x-default" href="https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo" /><title>AccessibilityNodeInfo &nbsp;|&nbsp; Android Developers</title>

<meta property="og:title" content="AccessibilityNodeInfo &nbsp;|&nbsp; Android Developers"><meta property="og:url" content="https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo"><meta property="og:image" content="https://developer.android.com/static/images/social/android-developers.png">
  <meta property="og:image:width" content="1200">
  <meta property="og:image:height" content="675"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image">
  
  
      
  
  
  
  




    
      <link rel="stylesheet" href="/extras.css"></head>
  <body class=""
        template="page"
        theme="android-theme"
        type="reference"
        
        
        
        layout="docs"
        
        
        
        
        display-toc
        pending>
    <devsite-progress type="indeterminate" id="app-progress"></devsite-progress>
  
    <section class="devsite-wrapper">
      <section id="gc-wrapper">
        <main role="main" class="devsite-main-content"
            
              has-book-nav
              has-sidebar
            >
          
          
          <div class="devsite-sidebar">
            <div class="devsite-sidebar-content">
                
                <devsite-toc class="devsite-nav"
                            role="navigation"
                            aria-label="On this page"
                            depth="2"
                            scrollbars
                  ></devsite-toc>
                <devsite-recommendations-sidebar class="nocontent devsite-nav">
                </devsite-recommendations-sidebar>
            </div>
          </div>
          
          <devsite-content>
            
              











<article class="devsite-article"><style>
      /* Styles inlined from /assets/css/reference-docs.css */
:root {
  --primary-font-family: Google Sans Text, Noto Sans, Noto Sans JP,
    Noto Sans KR, Noto Naskh Arabic, Noto Sans Thai, Noto Sans Hebrew,
    Noto Sans Bengali, sans-serif;
}

/* the "added in" info on all APIs */
.api-level {
  float: right;
  font-size: smaller;
  margin-top: -40px;
}

/* the "added in" block at the top of the page */
#api-info-block .api-level {
  margin-top: 0;
}

/* The metadata block displayed at the top of the page and on
   methods/functions. Used by Dackka */
#metadata-info-block {
  font-size: smaller;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#header-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* The version metadata block contains "Added in" and "Deprecated in" lines,
   which should both be right-aligned. Used by Dackka. */
#version-metadata > div {
  text-align: end;
}

/* The block containing a method name and its associated metadata. Used by
   Dackka */
.api-name-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  /* These margins reflect the margins set for non-Dackka generated refdocs */
  margin-top: 60px;
  margin-bottom: 16px;
}

/* The block next to a method / function name in the details section that
   displays the platform icons and the metadata block. Used by Dackka */
.api-name-platform-and-metadata {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

/* The platform icons that are displayed next to a method / function name in the
   details section. Used by Dackka */
.api-name-platform-icons {
  display: flex;
}

/* Zero out the top and bottom margins of the h3 contained in api-name-block;
   these margins are set in [the parent] .api-name-block div, since that also
   contains additional information that needs to be aligned with the h3. */
.api-name-block h3 {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 1000px) {
  .api-level {
    float: none;
    margin-top: 0;
  }
  #api-info-block .api-level {
    margin-bottom: 20px;
  }
}

.api-level a,
.api-level a:active,
.api-level a:visited {
  color: #222;
}

.api-level a:hover {
  color: #888;
}

/* This element is obsolete now that devsite provides TOC */
#api-info-block .sum-details-links {
  display: none;
}


/* The table that shows this class's inheritance tree */

.jd-inheritance-table tr,
.jd-inheritance-table tr td {
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

.jd-inheritance-table .jd-inheritance-space {
  width: 2em;
}

/* The devsite expandable widget */

.expand-control:not(button):not(.button) {
  color: inherit;
  cursor: pointer;
  padding-left: 24px;
  position: relative;
}

.expand-control::before {
  background: url(/images/styles/disclosure_down.png) no-repeat center center;
  background-size: 34px 34px;
  color: transparent;
  content: '';
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  width: 20px;
}

.expand-control.exw-expanded::before {
  background: url(/images/styles/disclosure_up.png) no-repeat center center;
}

/* Known subclasses list */

.jd-sumtable-subclasses #subclasses-direct,
.jd-sumtable-subclasses #subclasses-indirect {
  /* left margin matches width of the toggle image,
     so this section aligns with the text above */
  margin: 0 0 0 24px;
}

.jd-sumtable-subclasses .expand-control.exw-expanded + .showalways {
  /* Hide the comma list when expanded to show the table */
  display: none;
}

.jd-sumtable-subclasses tr,
.jd-sumtable-subclasses td {
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

#subclasses-direct-summary,
#subclasses-indirect-summary {
  padding-left: 24px;
}

.jd-sumtable-expando td {
  border: solid 1px #ddd;
  padding: 4px;
}

.jd-inherited-apis .exw-expanded-content {
  /* Force override for some lengthy devsite style selectors */
  padding-left: 24px !important;
  margin-top: 12px !important;
}


/* Styles for legacy doclava HTML that uses custom expando.
 * The list of direct/indirect subclasses does not expand at all,
 * and the list of inherited members/methods is expanded by default. */

.jd-sumtable-subclasses #subclasses-direct-list,
.jd-sumtable-subclasses #subclasses-indirect-list {
  /* Force line-wraps for CSVs with no spaces */
  word-break: break-word;
}

:not(devsite-expandable) > #subclasses-direct-summary,
:not(devsite-expandable) > #subclasses-indirect-summary {
  display: none !important;
}

.jd-sumtable #subclasses-direct.jd-expando-trigger,
.jd-sumtable #subclasses-indirect.jd-expando-trigger{
  margin: 0;
}


/* Force the broken legacy expandos into something that looks WAI */

.jd-expando-trigger {
  display: inline-block;
  height: 0;
  margin: 0;
  padding-top: 10px;
  width: 24px;
}

.jd-expando-trigger img {
  /* display: none; */
  height: inherit;
}

.jd-expando-trigger ~ div > div {
  display: block !important; /* Force all inline-hidden divs to appear */
}

table.responsive td td:first-child,
table.responsive td tr:last-child td,
table.responsive td tr:first-child td{
  padding: 7px 8px 8px;
}

.data-reference-resources-wrapper {
  display: none;
}

#lattrs td:first-child,
.inhtable td:first-child {
  white-space: nowrap;
}

#lattrs td+td,
.inhtable td+td {
  white-space: normal;
}


/* Styles to highlight the preview APIs.

   These must be updated with each letter-appropriate preview. */

/* Style headings to gold preview color */
#jd-content:not(.devsite-future-version) .apilevel-UpsideDownCake:not(.devsite-future-version) h3,
#jd-content:not(.devsite-future-version) [data-version-added="UpsideDownCake"]:not(.devsite-future-version) h3,
[data-version-added="UpsideDownCake"] .api-title,
.apilevel-UpsideDownCake h3 {
  color: #f5ba15;
}

/* Style "Added in ___" links to gold preview color */
#jd-content:not(.devsite-future-version) .apilevel-UpsideDownCake:not(.devsite-future-version) .api-level a,
body.apilevel-UpsideDownCake #api-info-block .api-level a,
#jd-content[data-version-added="UpsideDownCake"]:not(.devsite-future-version) .api-level a,
#api-info-block .api-level a[data-version-added="UpsideDownCake"],
.api-level a[data-version-added="UpsideDownCake"],
.apilevel-UpsideDownCake .api-level a {
  color: #f5ba15 !important;
  font-size: 14px;
  font-weight:900;
}

/* Clear backgrounds for table rows */
#jd-content:not(.devsite-future-version) tr.apilevel-UpsideDownCake:not(.devsite-future-version),
#jd-content:not(.devsite-future-version) .apilevel-UpsideDownCake:not(.devsite-future-version) tr,
table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) tr.apilevel-UpsideDownCake:not(.devsite-future-version),
body.apilevel-UpsideDownCake #jd-content table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) tr,
#jd-content:not(.devsite-future-version) tr[data-version-added="UpsideDownCake"]:not(.devsite-future-version),
#jd-content:not(.devsite-future-version) [data-version-added="UpsideDownCake"]:not(.devsite-future-version) tr,
table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) tr[data-version-added="UpsideDownCake"]:not(.devsite-future-version),
#jd-content[data-version-added="UpsideDownCake"] table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) tr {
  background: none;
}

/* Add gold preview background color to table headings and cells */
#jd-content:not(.devsite-future-version) .apilevel-UpsideDownCake:not(.devsite-future-version) td,
#jd-content:not(.devsite-future-version) .apilevel-UpsideDownCake:not(.devsite-future-version) th,
body.apilevel-UpsideDownCake #jd-content:not(.devsite-future-version) table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) tr:not(.devsite-future-version) td,
body.apilevel-UpsideDownCake #jd-content:not(.devsite-future-version) th,
#jd-content:not(.devsite-future-version) [data-version-added="UpsideDownCake"]:not(.devsite-future-version) td,
#jd-content:not(.devsite-future-version) [data-version-added="UpsideDownCake"]:not(.devsite-future-version) th,
#jd-content[data-version-added="UpsideDownCake"]:not(.devsite-future-version) table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) tr:not(.devsite-future-version) td,
#jd-content[data-version-added="UpsideDownCake"]:not(.devsite-future-version) th {
  background: rgba(245, 185, 16, .2);
}

/* Add gold preview background color to additional table cells */
#jd-content:not(.devsite-future-version) tr.apilevel-UpsideDownCake:not(.devsite-future-version) td,
table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) .apilevel-UpsideDownCake:not(.devsite-future-version) td,
#jd-content:not(.devsite-future-version) tr[data-version-added="UpsideDownCake"]:not(.devsite-future-version) td,
table:not(.jd-inheritance-table):not(.jd-sumtable-subclasses) [data-version-added="UpsideDownCake"]:not(.devsite-future-version) td {
  background: rgba(245, 185, 16, .2);
}

/* End of styles to highlight the preview APIs */


/* Misc styles used in the reference */

h1.api-title {
  margin-bottom: 0;
}

h2.api-section:not(#summary) {
  margin-top: 60px;
  margin-bottom: -20px;
}

h3.api-name {
  margin-top: 60px;
}

.nolist, .nolist ul, .nolist ol {
  list-style: none;
  padding-left: 0;
}

table.inhtable>tbody>tr>td {
  padding-left: 0;
}

table.inhtable>tbody>tr>td div:first-of-type {
  padding-left: 12px;
}

.api-item {
  position: relative;
}

.api-item > .api-name {
  padding-right: 80px;
}

.api-item > .kotlin-platform {
  inset-inline-end: 0;
  position: absolute;
  top: 0;
}

.kotlin-platform {
  background: #ebf7fe;
  border-radius: 16px;
  color: #1769e0;
  display: inline-block;
  font: 500 12px / 32px var(--primary-font-family);
  height: 32px;
  text-align: center;
  width: 32px;
}

      </style>
  
  
  
  

  <div class="devsite-article-meta nocontent" role="navigation">
    
    
    <ul class="devsite-breadcrumb-list"
  
    aria-label="Breadcrumb">
  
  <li class="devsite-breadcrumb-item
             ">
    
    
    
      
  <a href="https://developer.android.com/"
      
        class="devsite-breadcrumb-link gc-analytics-event"
      
        data-category="Site-Wide Custom Events"
      
        data-label="Breadcrumbs"
      
        data-value="1"
      
        track-type="globalNav"
      
        track-name="breadcrumb"
      
        track-metadata-position="1"
      
        track-metadata-eventdetail="Android Developers"
      
    >
    
        Android Developers
      
  </a>
  
    
  </li>
  
  <li class="devsite-breadcrumb-item
             ">
    
      
      <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div>
    
    
    
      
  <a href="https://developer.android.com/develop"
      
        class="devsite-breadcrumb-link gc-analytics-event"
      
        data-category="Site-Wide Custom Events"
      
        data-label="Breadcrumbs"
      
        data-value="2"
      
        track-type="globalNav"
      
        track-name="breadcrumb"
      
        track-metadata-position="2"
      
        track-metadata-eventdetail=""
      
    >
    
        Develop
      
  </a>
  
    
  </li>
  
  <li class="devsite-breadcrumb-item
             ">
    
      
      <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div>
    
    
    
      
  <a href="https://developer.android.com/reference"
      
        class="devsite-breadcrumb-link gc-analytics-event"
      
        data-category="Site-Wide Custom Events"
      
        data-label="Breadcrumbs"
      
        data-value="3"
      
        track-type="globalNav"
      
        track-name="breadcrumb"
      
        track-metadata-position="3"
      
        track-metadata-eventdetail=""
      
    >
    
        Reference
      
  </a>
  
    
  </li>
  
</ul>
    
      
    <devsite-thumb-rating position="header">
    </devsite-thumb-rating>
  
    
  </div>
  <devsite-feature-tooltip
          ack-key="AckCollectionsBookmarkTooltipDismiss"
          analytics-category="Site-Wide Custom Events"
          analytics-action-show="Callout Profile displayed"
          analytics-action-close="Callout Profile dismissed"
          analytics-label="Create Collection Callout"
          class="devsite-page-bookmark-tooltip nocontent"
          dismiss-button="true"
          id="devsite-collections-dropdown"

          
          dismiss-button-text="Dismiss"

          
          close-button-text="Got it">

        
        <devsite-bookmark></devsite-bookmark>

        <span slot="popout-heading">
          
          Stay organized with collections
        </span>
        <span slot="popout-contents">
          
          Save and categorize content based on your preferences.
        </span>
      </devsite-feature-tooltip>
    
  

  <devsite-toc class="devsite-nav"
    depth="2"
    devsite-toc-embedded
    >
  </devsite-toc>
  
    
    <devsite-recommendations-dropdown class="nocontent"></devsite-recommendations-dropdown>
    
  

  






<div class="devsite-article-body clearfix
  devsite-no-page-title">

  
    

<div itemscope itemtype="http://developers.google.com/ReferenceObject">
<!-- This DIV closes at the end of the BODY -->
  <meta itemprop="name" content="android.view.accessibility.AccessibilityNodeInfo" />
  <meta itemprop="path" content="API level 14" />



<div id="naMessage"></div>

<div id="api-info-block">
<div class="api-level">
  
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  
  
  
  

</div>



  
   
  
  
  
  

  
   
  
  
   
  
  
  


<div class="sum-details-links">

Summary:

  <a href="#nestedclasses">Nested Classes</a>
  





  &#124; <a href="#constants">Constants</a>
  


  &#124; <a href="#inhconstants">Inherited Constants</a>
  


  &#124; <a href="#lfields">Fields</a>
  



  &#124; <a href="#pubctors">Ctors</a>
  



  &#124; <a href="#pubmethods">Methods</a>
  



  &#124; <a href="#inhmethods">Inherited Methods</a>


</div><!-- end sum-details-links -->
</div><!-- end api-info-block -->

<div id="jd-content" data-version-added="14" >

<!-- ======== START OF CLASS DATA ======== -->

<h1 class="api-title" id="accessibilitynodeinfo" data-text="AccessibilityNodeInfo">AccessibilityNodeInfo</h1>




























<div style="font-size:medium; margin-bottom:40px; border-top:1px solid black;"
     class="nocontent">
<div style="float:right">



<a href="/reference/kotlin/android/view/accessibility/AccessibilityNodeInfo" title="View this page in Kotlin" >Kotlin</a>
<span style="color: #ddd; padding: 0em .5em;">|</span><span style="color: black; font-weight:bold">Java</span>


</div>
</div>




<p>
<code class="api-signature" translate="no" dir="ltr">
  public
  
  
  
  class
  AccessibilityNodeInfo
</code>
<br>


<code class="api-signature" translate="no" dir="ltr">
  
    extends <a href="/reference/java/lang/Object">Object</a>
  
  
  
</code>

<code class="api-signature" translate="no" dir="ltr">
  
  
      implements
      
        <a href="/reference/android/os/Parcelable">Parcelable</a>
      
  
  
</code>

</p><table class="jd-inheritance-table">


  <tr>
    
    <td colspan="2" class="jd-inheritance-class-cell"><a href="/reference/java/lang/Object">java.lang.Object</a>
    </td>
  </tr>
  

  <tr>
    
      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
    
    <td colspan="1" class="jd-inheritance-class-cell">android.view.accessibility.AccessibilityNodeInfo
    </td>
  </tr>
  

</table>
  

    

<br><hr>


  <p>This class represents a node of the window content as well as actions that
 can be requested from its source. From the point of view of an
 <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code> a window's content is
 presented as a tree of accessibility node infos, which may or may not map one-to-one
 to the view hierarchy. In other words, a custom view is free to report itself as
 a tree of accessibility node info.
 </p>
 <p>
 Once an accessibility node info is delivered to an accessibility service it is
 made immutable and calling a state mutation method generates an error. See
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setQueryFromAppProcessEnabled(android.view.View,%20boolean)">setQueryFromAppProcessEnabled(View, boolean)</a></code> if you would like to inspect the
 node tree from the app process for testing or debugging tools.
 </p>
 <p>
 Please refer to <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code> for
 details about how to obtain a handle to window content as a tree of accessibility
 node info as well as details about the security model.
 </p>
 <div class="special reference">
 <h3 id="developer-guides" data-text="Developer Guides">Developer Guides</h3>
 <p>For more information about making applications accessible, read the
 <a href="/guide/topics/ui/accessibility">Accessibility</a>
 developer guide.</p>
 </div></p>





  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityEvent">AccessibilityEvent</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityManager">AccessibilityManager</a></code></li>
      </ul>
  </div>




<h2 class="api-section" id="summary" data-text="Summary">Summary</h2>



<!-- ======== NESTED CLASS SUMMARY ======== -->
<table id="nestedclasses" class="responsive">
<tr><th colspan="2"><h3 id="nested-classes" data-text="Nested classes">Nested classes</h3></th></tr>


  
    <tr data-version-added="21" >
      <td class="jd-typecol"><code translate="no" dir="ltr">
        
        
        
        
        class</code></td>
      <td class="jd-descrcol" width="100%">
        <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a></code>
        <p>A class defining an action that can be performed on an <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>.&nbsp;
        
    
</p>
      </td>
    </tr>
    
    
    <tr data-version-added="19" >
      <td class="jd-typecol"><code translate="no" dir="ltr">
        
        
        
        
        class</code></td>
      <td class="jd-descrcol" width="100%">
        <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionInfo">AccessibilityNodeInfo.CollectionInfo</a></code>
        <p>Class with information if a node is a collection.&nbsp;
        
    
</p>
      </td>
    </tr>
    
    
    <tr data-version-added="19" >
      <td class="jd-typecol"><code translate="no" dir="ltr">
        
        
        
        
        class</code></td>
      <td class="jd-descrcol" width="100%">
        <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo">AccessibilityNodeInfo.CollectionItemInfo</a></code>
        <p>Class with information if a node is a collection item.&nbsp;
        
    
</p>
      </td>
    </tr>
    
    
    <tr data-version-added="30" >
      <td class="jd-typecol"><code translate="no" dir="ltr">
        
        
        
        
        class</code></td>
      <td class="jd-descrcol" width="100%">
        <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">AccessibilityNodeInfo.ExtraRenderingInfo</a></code>
        <p>Class with information of a view useful to evaluate accessibility needs.&nbsp;
        
    
</p>
      </td>
    </tr>
    
    
    <tr data-version-added="19" >
      <td class="jd-typecol"><code translate="no" dir="ltr">
        
        
        
        
        class</code></td>
      <td class="jd-descrcol" width="100%">
        <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.RangeInfo">AccessibilityNodeInfo.RangeInfo</a></code>
        <p>Class with information if a node is a range.&nbsp;
        
    
</p>
      </td>
    </tr>
    
    
    <tr data-version-added="29" >
      <td class="jd-typecol"><code translate="no" dir="ltr">
        
        
        
        
        class</code></td>
      <td class="jd-descrcol" width="100%">
        <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">AccessibilityNodeInfo.TouchDelegateInfo</a></code>
        <p>Class with information of touch delegated views and regions from <code translate="no" dir="ltr"><a href="/reference/android/view/TouchDelegate">TouchDelegate</a></code> for
 the <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>.&nbsp;
        
    
</p>
      </td>
    </tr>
    
    













<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<table id="constants" class="responsive constants">
<tr><th colspan="2"><h3 id="constants" data-text="Constants">Constants</h3></th></tr>


    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ACCESSIBILITY_FOCUS">ACTION_ACCESSIBILITY_FOCUS</a></code>
          <p>Action that gives accessibility focus to the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="23" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_COLUMN_INT">ACTION_ARGUMENT_COLUMN_INT</a></code>
          <p>Argument for specifying the collection column to make visible on screen.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="34" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_DIRECTION_INT">ACTION_ARGUMENT_DIRECTION_INT</a></code>
          <p><p>Argument to represent the direction when using
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SCROLL_IN_DIRECTION">AccessibilityAction#ACTION_SCROLL_IN_DIRECTION</a></code>.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="18" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN">ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN</a></code>
          <p>Argument for whether when moving at granularity to extend the selection
 or to move it otherwise.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_HTML_ELEMENT_STRING">ACTION_ARGUMENT_HTML_ELEMENT_STRING</a></code>
          <p>Argument for which HTML element to get moving to the next/previous HTML element.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT">ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT</a></code>
          <p>Argument for which movement granularity to be used when traversing the node text.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="26" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_MOVE_WINDOW_X">ACTION_ARGUMENT_MOVE_WINDOW_X</a></code>
          <p>Argument for specifying the x coordinate to which to move a window.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="26" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_MOVE_WINDOW_Y">ACTION_ARGUMENT_MOVE_WINDOW_Y</a></code>
          <p>Argument for specifying the y coordinate to which to move a window.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="30" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT">ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT</a></code>
          <p>Argument to represent the duration in milliseconds to press and hold a node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="24" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_PROGRESS_VALUE">ACTION_ARGUMENT_PROGRESS_VALUE</a></code>
          <p>Argument for specifying the progress value to set.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="23" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_ROW_INT">ACTION_ARGUMENT_ROW_INT</a></code>
          <p>Argument for specifying the collection row to make visible on screen.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="18" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SELECTION_END_INT">ACTION_ARGUMENT_SELECTION_END_INT</a></code>
          <p>Argument for specifying the selection end.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="18" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SELECTION_START_INT">ACTION_ARGUMENT_SELECTION_START_INT</a></code>
          <p>Argument for specifying the selection start.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="21" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE">ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE</a></code>
          <p>Argument for specifying the text content to set.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLEAR_ACCESSIBILITY_FOCUS">ACTION_CLEAR_ACCESSIBILITY_FOCUS</a></code>
          <p>Action that clears accessibility focus of the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="14" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLEAR_FOCUS">ACTION_CLEAR_FOCUS</a></code>
          <p>Action that clears input focus of the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="14" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLEAR_SELECTION">ACTION_CLEAR_SELECTION</a></code>
          <p>Action that deselects the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLICK">ACTION_CLICK</a></code>
          <p>Action that clicks on the node info.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="19" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_COLLAPSE">ACTION_COLLAPSE</a></code>
          <p>Action to collapse an expandable node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="18" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_COPY">ACTION_COPY</a></code>
          <p>Action to copy the current selection to the clipboard.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="18" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CUT">ACTION_CUT</a></code>
          <p>Action to cut the current selection and place it to the clipboard.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="19" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_DISMISS">ACTION_DISMISS</a></code>
          <p>Action to dismiss a dismissable node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="19" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_EXPAND">ACTION_EXPAND</a></code>
          <p>Action to expand an expandable node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="14" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_FOCUS">ACTION_FOCUS</a></code>
          <p>Action that gives input focus to the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_LONG_CLICK">ACTION_LONG_CLICK</a></code>
          <p>Action that long clicks on the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_NEXT_AT_MOVEMENT_GRANULARITY">ACTION_NEXT_AT_MOVEMENT_GRANULARITY</a></code>
          <p>Action that requests to go to the next entity in this node's text
 at a given movement granularity.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_NEXT_HTML_ELEMENT">ACTION_NEXT_HTML_ELEMENT</a></code>
          <p>Action to move to the next HTML element of a given type.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="18" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_PASTE">ACTION_PASTE</a></code>
          <p>Action to paste the current clipboard content.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY">ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</a></code>
          <p>Action that requests to go to the previous entity in this node's text
 at a given movement granularity.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_PREVIOUS_HTML_ELEMENT">ACTION_PREVIOUS_HTML_ELEMENT</a></code>
          <p>Action to move to the previous HTML element of a given type.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SCROLL_BACKWARD">ACTION_SCROLL_BACKWARD</a></code>
          <p>Action to scroll the node content backward.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SCROLL_FORWARD">ACTION_SCROLL_FORWARD</a></code>
          <p>Action to scroll the node content forward.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="14" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SELECT">ACTION_SELECT</a></code>
          <p>Action that selects the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="18" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SET_SELECTION">ACTION_SET_SELECTION</a></code>
          <p>Action to set the selection.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="21" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SET_TEXT">ACTION_SET_TEXT</a></code>
          <p>Action that sets the text of the node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="30" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_RENDERING_INFO_KEY">EXTRA_DATA_RENDERING_INFO_KEY</a></code>
          <p>Key used to request extra data for the rendering information.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="26" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH</a></code>
          <p>Integer argument specifying the end index of the requested text location data.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="31" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH</a></code>
          <p>The maximum allowed length of the requested text location data.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="26" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX</a></code>
          <p>Integer argument specifying the start index of the requested text location data.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="26" >
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY">EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY</a></code>
          <p>Key used to request and locate extra data for text character location.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="33" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">FLAG_PREFETCH_ANCESTORS</a></code>
          <p>Prefetching strategy that prefetches the ancestors of the requested node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="33" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST">FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</a></code>
          <p>Prefetching strategy that prefetches the descendants of the requested node breadth-first.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="33" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST">FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</a></code>
          <p>Prefetching strategy that prefetches the descendants of the requested node depth-first.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="33" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_HYBRID">FLAG_PREFETCH_DESCENDANTS_HYBRID</a></code>
          <p>Prefetching strategy that prefetches the descendants in a hybrid depth first and breadth
 first approach.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="33" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_SIBLINGS">FLAG_PREFETCH_SIBLINGS</a></code>
          <p>Prefetching strategy that prefetches the siblings of the requested node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="33" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_UNINTERRUPTIBLE">FLAG_PREFETCH_UNINTERRUPTIBLE</a></code>
          <p>Prefetching flag that specifies prefetching should not be interrupted by a request to
 retrieve a node or perform an action on a node.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FOCUS_ACCESSIBILITY">FOCUS_ACCESSIBILITY</a></code>
          <p>The accessibility focus.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FOCUS_INPUT">FOCUS_INPUT</a></code>
          <p>The input focus.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="33" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MAX_NUMBER_OF_PREFETCHED_NODES">MAX_NUMBER_OF_PREFETCHED_NODES</a></code>
          <p>Maximum batch size of prefetched nodes for a request.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_CHARACTER">MOVEMENT_GRANULARITY_CHARACTER</a></code>
          <p>Movement granularity bit for traversing the text of a node by character.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_LINE">MOVEMENT_GRANULARITY_LINE</a></code>
          <p>Movement granularity bit for traversing the text of a node by line.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_PAGE">MOVEMENT_GRANULARITY_PAGE</a></code>
          <p>Movement granularity bit for traversing the text of a node by page.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_PARAGRAPH">MOVEMENT_GRANULARITY_PARAGRAPH</a></code>
          <p>Movement granularity bit for traversing the text of a node by paragraph.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="16" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_WORD">MOVEMENT_GRANULARITY_WORD</a></code>
          <p>Movement granularity bit for traversing the text of a node by word.
          
    
</p>
        </td>
    </tr>
    
    

</table>





<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<table id="inhconstants" class="responsive constants inhtable">
<tr><th><h3 id="inherited-constants" data-text="Inherited constants">Inherited constants</h3></th></tr>




  <tr  >
  <td>
    <div class="expandable jd-inherited-apis">
      <span class="expand-control">From interface
        <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable">android.os.Parcelable</a></code>
      </span>
      <table class="responsive">
        

    
    <tr data-version-added="1" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR">CONTENTS_FILE_DESCRIPTOR</a></code>
          <p>Descriptor bit used with <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#describeContents()">describeContents()</a></code>: indicates that
 the Parcelable object's flattened representation includes a file descriptor.
          
    
</p>
        </td>
    </tr>
    
    
    <tr data-version-added="1" >
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">
          <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE">PARCELABLE_WRITE_RETURN_VALUE</a></code>
          <p>Flag for use with <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)">writeToParcel(Parcel, int)</a></code>: the object being written
 is a return value, that is the result of a function such as
 "<code translate="no" dir="ltr">Parcelable someFunction()</code>",
 "<code translate="no" dir="ltr">void someFunction(out Parcelable)</code>", or
 "<code translate="no" dir="ltr">void someFunction(inout Parcelable)</code>".
          
    
</p>
        </td>
    </tr>
    
    

      </table>
    </div>
  </td></tr>


</table>




<!-- =========== FIELD SUMMARY =========== -->
<table id="lfields" class="responsive properties">
<tr><th colspan="2"><h3 id="fields" data-text="Fields">Fields</h3></th></tr>



  <tr data-version-added="14" >
    <td><code translate="no" dir="ltr">
    public
    static
    final
    <a href="/reference/android/os/Parcelable.Creator">Creator</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt;</code></td>
    <td width="100%">
      <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#CREATOR">CREATOR</a></code>
      <p>
      
    
</p>
    </td>
  </tr>
  


</table>







<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<table id="pubctors" class="responsive constructors">
<tr><th colspan="2"><h3 id="public-constructors" data-text="Public constructors">Public constructors</h3></th></tr>



  <tr data-version-added="30" >
  
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo()">AccessibilityNodeInfo</a>()
      </code>
      
        <p>Creates a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="30" >
  
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.View)">AccessibilityNodeInfo</a>(<a href="/reference/android/view/View">View</a> source)
      </code>
      
        <p>Creates a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> with the given <code translate="no" dir="ltr">source</code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="30" >
  
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.View,%20int)">AccessibilityNodeInfo</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Creates a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> with the given <code translate="no" dir="ltr">source</code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="30" >
  
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)">AccessibilityNodeInfo</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> info)
      </code>
      
        <p>Copy constructor.
        
    
</p>
      
    </td>
  </tr>
  


</table>






<!-- ========== METHOD SUMMARY =========== -->
<table id="pubmethods" class="responsive methods">
<tr><th colspan="2"><h3 id="public-methods" data-text="Public methods">Public methods</h3></th></tr>



  <tr data-version-added="14" data-version-deprecated="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#addAction(int)">addAction</a>(int action)
      </code>
      
        <p><em>
      This method was deprecated
      in API level 21.
    This has been deprecated for <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#addAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)">addAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)</a></code></em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#addAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)">addAction</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a> action)
      </code>
      
        <p>Adds an action that can be performed on the node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#addChild(android.view.View,%20int)">addChild</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Adds a virtual child which is a descendant of the given <code translate="no" dir="ltr">root</code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#addChild(android.view.View)">addChild</a>(<a href="/reference/android/view/View">View</a> child)
      </code>
      
        <p>Adds a child.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#canOpenPopup()">canOpenPopup</a>()
      </code>
      
        <p>Gets if this node opens a popup or a dialog.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#describeContents()">describeContents</a>()
      </code>
      
        <p>Describe the kinds of special objects contained in this Parcelable
 instance's marshaled representation.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#equals(java.lang.Object)">equals</a>(<a href="/reference/java/lang/Object">Object</a> object)
      </code>
      
        <p>Indicates whether some other object is "equal to" this one.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt;</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#findAccessibilityNodeInfosByText(java.lang.String)">findAccessibilityNodeInfosByText</a>(<a href="/reference/java/lang/String">String</a> text)
      </code>
      
        <p>Finds <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>s by text.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt;</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#findAccessibilityNodeInfosByViewId(java.lang.String)">findAccessibilityNodeInfosByViewId</a>(<a href="/reference/java/lang/String">String</a> viewId)
      </code>
      
        <p>Finds <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>s by the fully qualified view id's resource
 name where a fully qualified id is of the from "package:id/id_resource_name".
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#findFocus(int)">findFocus</a>(int focus)
      </code>
      
        <p>Find the view that has the specified focus type.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#focusSearch(int)">focusSearch</a>(int direction)
      </code>
      
        <p>Searches for the nearest view in the specified direction that can take
 the input focus.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a>&gt;</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getActionList()">getActionList</a>()
      </code>
      
        <p>Gets the actions that can be performed on the node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" data-version-deprecated="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getActions()">getActions</a>()
      </code>
      
        <p><em>
      This method was deprecated
      in API level 21.
    Use <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getActionList()">getActionList()</a></code>.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="26" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/java/lang/String">String</a>&gt;</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getAvailableExtraData()">getAvailableExtraData</a>()
      </code>
      
        <p>Get the extra data available for this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" data-version-deprecated="29" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getBoundsInParent(android.graphics.Rect)">getBoundsInParent</a>(<a href="/reference/android/graphics/Rect">Rect</a> outBounds)
      </code>
      
        <p><em>
      This method was deprecated
      in API level 29.
    Use <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getBoundsInScreen(android.graphics.Rect)">getBoundsInScreen(android.graphics.Rect)</a></code> instead.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getBoundsInScreen(android.graphics.Rect)">getBoundsInScreen</a>(<a href="/reference/android/graphics/Rect">Rect</a> outBounds)
      </code>
      
        <p>Gets the node bounds in screen coordinates.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getBoundsInWindow(android.graphics.Rect)">getBoundsInWindow</a>(<a href="/reference/android/graphics/Rect">Rect</a> outBounds)
      </code>
      
        <p>Gets the node bounds in window coordinates.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getChild(int)">getChild</a>(int index)
      </code>
      
        <p>Get the child at given index.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getChild(int,%20int)">getChild</a>(int index, int prefetchingStrategy)
      </code>
      
        <p>Get the child at given index.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getChildCount()">getChildCount</a>()
      </code>
      
        <p>Gets the number of children.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getClassName()">getClassName</a>()
      </code>
      
        <p>Gets the class this node comes from.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionInfo">AccessibilityNodeInfo.CollectionInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getCollectionInfo()">getCollectionInfo</a>()
      </code>
      
        <p>Gets the collection info if the node is a collection.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo">AccessibilityNodeInfo.CollectionItemInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getCollectionItemInfo()">getCollectionItemInfo</a>()
      </code>
      
        <p>Gets the collection item info if the node is a collection item.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getContainerTitle()">getContainerTitle</a>()
      </code>
      
        <p>Returns the container title.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getContentDescription()">getContentDescription</a>()
      </code>
      
        <p>Gets the content description of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="24" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getDrawingOrder()">getDrawingOrder</a>()
      </code>
      
        <p>Get the drawing order of the view corresponding it this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getError()">getError</a>()
      </code>
      
        <p>Gets the error text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="30" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">AccessibilityNodeInfo.ExtraRenderingInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getExtraRenderingInfo()">getExtraRenderingInfo</a>()
      </code>
      
        <p>Gets the <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">extra rendering info</a></code> if the node is meant to be
 refreshed with extra data to examine rendering related accessibility issues.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/os/Bundle">Bundle</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getExtras()">getExtras</a>()
      </code>
      
        <p>Gets an optional bundle with extra data.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="26" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getHintText()">getHintText</a>()
      </code>
      
        <p>Gets the hint text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getInputType()">getInputType</a>()
      </code>
      
        <p>Gets the input type of the source as defined by <code translate="no" dir="ltr"><a href="/reference/android/text/InputType">InputType</a></code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="17" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getLabelFor()">getLabelFor</a>()
      </code>
      
        <p>Gets the node info for which the view represented by this info serves as
 a label for accessibility purposes.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="17" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getLabeledBy()">getLabeledBy</a>()
      </code>
      
        <p>Gets the node info which serves as the label of the view represented by
 this info for accessibility purposes.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getLiveRegion()">getLiveRegion</a>()
      </code>
      
        <p>Gets the node's live region mode.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getMaxTextLength()">getMaxTextLength</a>()
      </code>
      
        <p>Returns the maximum text length for this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/time/Duration">Duration</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getMinDurationBetweenContentChanges()">getMinDurationBetweenContentChanges</a>()
      </code>
      
        <p>Gets the minimum time duration between two content change events.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getMovementGranularities()">getMovementGranularities</a>()
      </code>
      
        <p>Gets the movement granularities for traversing the text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getPackageName()">getPackageName</a>()
      </code>
      
        <p>Gets the package this node comes from.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getPaneTitle()">getPaneTitle</a>()
      </code>
      
        <p>Get the title of the pane represented by this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent()">getParent</a>()
      </code>
      
        <p>Gets the parent.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent(int)">getParent</a>(int prefetchingStrategy)
      </code>
      
        <p>Gets the parent.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.RangeInfo">AccessibilityNodeInfo.RangeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getRangeInfo()">getRangeInfo</a>()
      </code>
      
        <p>Gets the range info if this node is a range.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="30" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getStateDescription()">getStateDescription</a>()
      </code>
      
        <p>Get the state description of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getText()">getText</a>()
      </code>
      
        <p>Gets the text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTextSelectionEnd()">getTextSelectionEnd</a>()
      </code>
      
        <p>Gets the text selection end if text is selected.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTextSelectionStart()">getTextSelectionStart</a>()
      </code>
      
        <p>Gets the text selection start or the cursor position.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/CharSequence">CharSequence</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTooltipText()">getTooltipText</a>()
      </code>
      
        <p>Gets the tooltip text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="29" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">AccessibilityNodeInfo.TouchDelegateInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTouchDelegateInfo()">getTouchDelegateInfo</a>()
      </code>
      
        <p>Get the <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">TouchDelegateInfo</a></code> for touch delegate behavior with the represented view.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="22" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTraversalAfter()">getTraversalAfter</a>()
      </code>
      
        <p>Gets the node after which this one is visited in accessibility traversal.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="22" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTraversalBefore()">getTraversalBefore</a>()
      </code>
      
        <p>Gets the node before which this one is visited during traversal.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/String">String</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getUniqueId()">getUniqueId</a>()
      </code>
      
        <p>Gets the unique id of the node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/String">String</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getViewIdResourceName()">getViewIdResourceName</a>()
      </code>
      
        <p>Gets the fully qualified resource name of the source view's id.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/android/view/accessibility/AccessibilityWindowInfo">AccessibilityWindowInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getWindow()">getWindow</a>()
      </code>
      
        <p>Gets the window to which this node belongs.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getWindowId()">getWindowId</a>()
      </code>
      
        <p>Gets the id of the window from which the info comes from.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#hasRequestInitialAccessibilityFocus()">hasRequestInitialAccessibilityFocus</a>()
      </code>
      
        <p>Gets whether the node has <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setRequestInitialAccessibilityFocus(boolean)">setRequestInitialAccessibilityFocus(boolean)</a></code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#hashCode()">hashCode</a>()
      </code>
      
        <p>Returns a hash code value for the object.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isAccessibilityDataSensitive()">isAccessibilityDataSensitive</a>()
      </code>
      
        <p>Gets if the node's accessibility data is considered sensitive.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isAccessibilityFocused()">isAccessibilityFocused</a>()
      </code>
      
        <p>Gets whether this node is accessibility focused.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isCheckable()">isCheckable</a>()
      </code>
      
        <p>Gets whether this node is checkable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isChecked()">isChecked</a>()
      </code>
      
        <p>Gets whether this node is checked.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isClickable()">isClickable</a>()
      </code>
      
        <p>Gets whether this node is clickable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isContentInvalid()">isContentInvalid</a>()
      </code>
      
        <p>Gets if the content of this node is invalid.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="23" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isContextClickable()">isContextClickable</a>()
      </code>
      
        <p>Gets whether this node is context clickable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isDismissable()">isDismissable</a>()
      </code>
      
        <p>Gets if the node can be dismissed.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isEditable()">isEditable</a>()
      </code>
      
        <p>Gets if the node is editable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isEnabled()">isEnabled</a>()
      </code>
      
        <p>Gets whether this node is enabled.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isFocusable()">isFocusable</a>()
      </code>
      
        <p>Gets whether this node is focusable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isFocused()">isFocused</a>()
      </code>
      
        <p>Gets whether this node is focused.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isHeading()">isHeading</a>()
      </code>
      
        <p>Returns whether node represents a heading.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="24" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isImportantForAccessibility()">isImportantForAccessibility</a>()
      </code>
      
        <p>Returns whether the node originates from a view considered important for accessibility.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isLongClickable()">isLongClickable</a>()
      </code>
      
        <p>Gets whether this node is long clickable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isMultiLine()">isMultiLine</a>()
      </code>
      
        <p>Gets if the node is a multi line editable text.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isPassword()">isPassword</a>()
      </code>
      
        <p>Gets whether this node is a password.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isScreenReaderFocusable()">isScreenReaderFocusable</a>()
      </code>
      
        <p>Returns whether the node is explicitly marked as a focusable unit by a screen reader.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isScrollable()">isScrollable</a>()
      </code>
      
        <p>Gets if the node is scrollable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isSelected()">isSelected</a>()
      </code>
      
        <p>Gets whether this node is selected.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="26" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isShowingHintText()">isShowingHintText</a>()
      </code>
      
        <p>Returns whether the node's text represents a hint for the user to enter text.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="29" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isTextEntryKey()">isTextEntryKey</a>()
      </code>
      
        <p>Returns whether node represents a text entry key that is part of a keyboard or keypad.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isTextSelectable()">isTextSelectable</a>()
      </code>
      
        <p>Gets if the node has selectable text.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isVisibleToUser()">isVisibleToUser</a>()
      </code>
      
        <p>Gets whether this node is visible to the user.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" data-version-deprecated="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        static
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#obtain(android.view.View,%20int)">obtain</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p><em>
      This method was deprecated
      in API level 33.
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.View,%20int)">AccessibilityNodeInfo(android.view.View, int)</a></code> instead.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" data-version-deprecated="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        static
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#obtain(android.view.accessibility.AccessibilityNodeInfo)">obtain</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> info)
      </code>
      
        <p><em>
      This method was deprecated
      in API level 33.
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)">AccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)</a></code> instead.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" data-version-deprecated="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        static
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#obtain()">obtain</a>()
      </code>
      
        <p><em>
      This method was deprecated
      in API level 33.
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo()">AccessibilityNodeInfo()</a></code> instead.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" data-version-deprecated="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        static
        
        
        <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#obtain(android.view.View)">obtain</a>(<a href="/reference/android/view/View">View</a> source)
      </code>
      
        <p><em>
      This method was deprecated
      in API level 33.
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.View)">AccessibilityNodeInfo(android.view.View)</a></code> instead.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#performAction(int,%20android.os.Bundle)">performAction</a>(int action, <a href="/reference/android/os/Bundle">Bundle</a> arguments)
      </code>
      
        <p>Performs an action on the node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#performAction(int)">performAction</a>(int action)
      </code>
      
        <p>Performs an action on the node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" data-version-deprecated="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#recycle()">recycle</a>()
      </code>
      
        <p><em>
      This method was deprecated
      in API level 33.
    Object pooling has been discontinued. Calling this function now will have
 no effect.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refresh()">refresh</a>()
      </code>
      
        <p>Refreshes this info with the latest state of the view it represents.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="26" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refreshWithExtraData(java.lang.String,%20android.os.Bundle)">refreshWithExtraData</a>(<a href="/reference/java/lang/String">String</a> extraDataKey, <a href="/reference/android/os/Bundle">Bundle</a> args)
      </code>
      
        <p>Refreshes this info with the latest state of the view it represents, and request new
 data be added by the View.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#removeAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)">removeAction</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a> action)
      </code>
      
        <p>Removes an action that can be performed on the node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" data-version-deprecated="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#removeAction(int)">removeAction</a>(int action)
      </code>
      
        <p><em>
      This method was deprecated
      in API level 21.
    Use <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#removeAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)">removeAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)</a></code></em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#removeChild(android.view.View,%20int)">removeChild</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Removes a virtual child which is a descendant of the given
 <code translate="no" dir="ltr">root</code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#removeChild(android.view.View)">removeChild</a>(<a href="/reference/android/view/View">View</a> child)
      </code>
      
        <p>Removes a child.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setAccessibilityDataSensitive(boolean)">setAccessibilityDataSensitive</a>(boolean accessibilityDataSensitive)
      </code>
      
        <p>Sets whether this node's accessibility data is considered sensitive.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setAccessibilityFocused(boolean)">setAccessibilityFocused</a>(boolean focused)
      </code>
      
        <p>Sets whether this node is accessibility focused.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="26" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setAvailableExtraData(java.util.List<java.lang.String>)">setAvailableExtraData</a>(<a href="/reference/java/util/List">List</a>&lt;<a href="/reference/java/lang/String">String</a>&gt; extraDataKeys)
      </code>
      
        <p>Set the extra data available for this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" data-version-deprecated="29" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setBoundsInParent(android.graphics.Rect)">setBoundsInParent</a>(<a href="/reference/android/graphics/Rect">Rect</a> bounds)
      </code>
      
        <p><em>
      This method was deprecated
      in API level 29.
    Accessibility services should not care about these bounds.</em>
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setBoundsInScreen(android.graphics.Rect)">setBoundsInScreen</a>(<a href="/reference/android/graphics/Rect">Rect</a> bounds)
      </code>
      
        <p>Sets the node bounds in screen coordinates.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setBoundsInWindow(android.graphics.Rect)">setBoundsInWindow</a>(<a href="/reference/android/graphics/Rect">Rect</a> bounds)
      </code>
      
        <p>Sets the node bounds in window coordinates.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setCanOpenPopup(boolean)">setCanOpenPopup</a>(boolean opensPopup)
      </code>
      
        <p>Sets if this node opens a popup or a dialog.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setCheckable(boolean)">setCheckable</a>(boolean checkable)
      </code>
      
        <p>Sets whether this node is checkable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setChecked(boolean)">setChecked</a>(boolean checked)
      </code>
      
        <p>Sets whether this node is checked.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setClassName(java.lang.CharSequence)">setClassName</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> className)
      </code>
      
        <p>Sets the class this node comes from.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setClickable(boolean)">setClickable</a>(boolean clickable)
      </code>
      
        <p>Sets whether this node is clickable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setCollectionInfo(android.view.accessibility.AccessibilityNodeInfo.CollectionInfo)">setCollectionInfo</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionInfo">AccessibilityNodeInfo.CollectionInfo</a> collectionInfo)
      </code>
      
        <p>Sets the collection info if the node is a collection.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setCollectionItemInfo(android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo)">setCollectionItemInfo</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo">AccessibilityNodeInfo.CollectionItemInfo</a> collectionItemInfo)
      </code>
      
        <p>Sets the collection item info if the node is a collection item.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setContainerTitle(java.lang.CharSequence)">setContainerTitle</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> containerTitle)
      </code>
      
        <p>Sets the container title for app-developer-defined container which can be any type of
 ViewGroup or layout.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setContentDescription(java.lang.CharSequence)">setContentDescription</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> contentDescription)
      </code>
      
        <p>Sets the content description of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setContentInvalid(boolean)">setContentInvalid</a>(boolean contentInvalid)
      </code>
      
        <p>Sets if the content of this node is invalid.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="23" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setContextClickable(boolean)">setContextClickable</a>(boolean contextClickable)
      </code>
      
        <p>Sets whether this node is context clickable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setDismissable(boolean)">setDismissable</a>(boolean dismissable)
      </code>
      
        <p>Sets if the node can be dismissed.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="24" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setDrawingOrder(int)">setDrawingOrder</a>(int drawingOrderInParent)
      </code>
      
        <p>Set the drawing order of the view corresponding it this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setEditable(boolean)">setEditable</a>(boolean editable)
      </code>
      
        <p>Sets whether this node is editable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setEnabled(boolean)">setEnabled</a>(boolean enabled)
      </code>
      
        <p>Sets whether this node is enabled.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setError(java.lang.CharSequence)">setError</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> error)
      </code>
      
        <p>Sets the error text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setFocusable(boolean)">setFocusable</a>(boolean focusable)
      </code>
      
        <p>Sets whether this node is focusable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setFocused(boolean)">setFocused</a>(boolean focused)
      </code>
      
        <p>Sets whether this node is focused.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setHeading(boolean)">setHeading</a>(boolean isHeading)
      </code>
      
        <p>Sets whether the node represents a heading.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="26" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setHintText(java.lang.CharSequence)">setHintText</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> hintText)
      </code>
      
        <p>Sets the hint text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="24" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setImportantForAccessibility(boolean)">setImportantForAccessibility</a>(boolean important)
      </code>
      
        <p>Sets whether the node is considered important for accessibility.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setInputType(int)">setInputType</a>(int inputType)
      </code>
      
        <p>Sets the input type of the source as defined by <code translate="no" dir="ltr"><a href="/reference/android/text/InputType">InputType</a></code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="17" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setLabelFor(android.view.View,%20int)">setLabelFor</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Sets the view for which the view represented by this info serves as a
 label for accessibility purposes.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="17" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setLabelFor(android.view.View)">setLabelFor</a>(<a href="/reference/android/view/View">View</a> labeled)
      </code>
      
        <p>Sets the view for which the view represented by this info serves as a
 label for accessibility purposes.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="17" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setLabeledBy(android.view.View)">setLabeledBy</a>(<a href="/reference/android/view/View">View</a> label)
      </code>
      
        <p>Sets the view which serves as the label of the view represented by
 this info for accessibility purposes.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="17" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setLabeledBy(android.view.View,%20int)">setLabeledBy</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Sets the view which serves as the label of the view represented by
 this info for accessibility purposes.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setLiveRegion(int)">setLiveRegion</a>(int mode)
      </code>
      
        <p>Sets the node's live region mode.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setLongClickable(boolean)">setLongClickable</a>(boolean longClickable)
      </code>
      
        <p>Sets whether this node is long clickable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="21" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setMaxTextLength(int)">setMaxTextLength</a>(int max)
      </code>
      
        <p>Sets the maximum text length, or -1 for no limit.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setMinDurationBetweenContentChanges(java.time.Duration)">setMinDurationBetweenContentChanges</a>(<a href="/reference/java/time/Duration">Duration</a> duration)
      </code>
      
        <p>Sets the minimum time duration between two content change events, which is used in throttling
 content change events in accessibility services.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setMovementGranularities(int)">setMovementGranularities</a>(int granularities)
      </code>
      
        <p>Sets the movement granularities for traversing the text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setMultiLine(boolean)">setMultiLine</a>(boolean multiLine)
      </code>
      
        <p>Sets if the node is a multi line editable text.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setPackageName(java.lang.CharSequence)">setPackageName</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> packageName)
      </code>
      
        <p>Sets the package this node comes from.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setPaneTitle(java.lang.CharSequence)">setPaneTitle</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> paneTitle)
      </code>
      
        <p>If this node represents a visually distinct region of the screen that may update separately
 from the rest of the window, it is considered a pane.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setParent(android.view.View,%20int)">setParent</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Sets the parent to be a virtual descendant of the given <code translate="no" dir="ltr">root</code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setParent(android.view.View)">setParent</a>(<a href="/reference/android/view/View">View</a> parent)
      </code>
      
        <p>Sets the parent.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setPassword(boolean)">setPassword</a>(boolean password)
      </code>
      
        <p>Sets whether this node is a password.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setQueryFromAppProcessEnabled(android.view.View,%20boolean)">setQueryFromAppProcessEnabled</a>(<a href="/reference/android/view/View">View</a> view, boolean enabled)
      </code>
      
        <p>Connects this node to the View's root so that operations on this node can query the entire
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> tree and perform accessibility actions on nodes.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="19" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setRangeInfo(android.view.accessibility.AccessibilityNodeInfo.RangeInfo)">setRangeInfo</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.RangeInfo">AccessibilityNodeInfo.RangeInfo</a> rangeInfo)
      </code>
      
        <p>Sets the range info if this node is a range.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="34" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setRequestInitialAccessibilityFocus(boolean)">setRequestInitialAccessibilityFocus</a>(boolean requestInitialAccessibilityFocus)
      </code>
      
        <p>Sets whether the node has requested initial accessibility focus.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setScreenReaderFocusable(boolean)">setScreenReaderFocusable</a>(boolean screenReaderFocusable)
      </code>
      
        <p>Sets whether the node should be considered a focusable unit by a screen reader.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setScrollable(boolean)">setScrollable</a>(boolean scrollable)
      </code>
      
        <p>Sets if the node is scrollable.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setSelected(boolean)">setSelected</a>(boolean selected)
      </code>
      
        <p>Sets whether this node is selected.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="26" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setShowingHintText(boolean)">setShowingHintText</a>(boolean showingHintText)
      </code>
      
        <p>Sets whether the node's text represents a hint for the user to enter text.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setSource(android.view.View)">setSource</a>(<a href="/reference/android/view/View">View</a> source)
      </code>
      
        <p>Sets the source.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setSource(android.view.View,%20int)">setSource</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Sets the source to be a virtual descendant of the given <code translate="no" dir="ltr">root</code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="30" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setStateDescription(java.lang.CharSequence)">setStateDescription</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> stateDescription)
      </code>
      
        <p>Sets the state description of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setText(java.lang.CharSequence)">setText</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> text)
      </code>
      
        <p>Sets the text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="29" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTextEntryKey(boolean)">setTextEntryKey</a>(boolean isTextEntryKey)
      </code>
      
        <p>Sets whether the node represents a text entry key that is part of a keyboard or keypad.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTextSelectable(boolean)">setTextSelectable</a>(boolean selectableText)
      </code>
      
        <p>Sets if the node has selectable text.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTextSelection(int,%20int)">setTextSelection</a>(int start, int end)
      </code>
      
        <p>Sets the text selection start and end.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="28" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTooltipText(java.lang.CharSequence)">setTooltipText</a>(<a href="/reference/java/lang/CharSequence">CharSequence</a> tooltipText)
      </code>
      
        <p>Sets the tooltip text of this node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="29" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTouchDelegateInfo(android.view.accessibility.AccessibilityNodeInfo.TouchDelegateInfo)">setTouchDelegateInfo</a>(<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">AccessibilityNodeInfo.TouchDelegateInfo</a> delegatedInfo)
      </code>
      
        <p>Set touch delegate info if the represented view has a <code translate="no" dir="ltr"><a href="/reference/android/view/TouchDelegate">TouchDelegate</a></code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="22" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalAfter(android.view.View)">setTraversalAfter</a>(<a href="/reference/android/view/View">View</a> view)
      </code>
      
        <p>Sets the view whose node is visited after this one in accessibility traversal.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="22" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalAfter(android.view.View,%20int)">setTraversalAfter</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Sets the node after which this one is visited in accessibility traversal.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="22" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalBefore(android.view.View)">setTraversalBefore</a>(<a href="/reference/android/view/View">View</a> view)
      </code>
      
        <p>Sets the view before whose node this one should be visited during traversal.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="22" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalBefore(android.view.View,%20int)">setTraversalBefore</a>(<a href="/reference/android/view/View">View</a> root, int virtualDescendantId)
      </code>
      
        <p>Sets the node before which this one is visited during traversal.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="33" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setUniqueId(java.lang.String)">setUniqueId</a>(<a href="/reference/java/lang/String">String</a> uniqueId)
      </code>
      
        <p>Sets the unique id to act as a key to identify the node.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="18" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setViewIdResourceName(java.lang.String)">setViewIdResourceName</a>(<a href="/reference/java/lang/String">String</a> viewIdResName)
      </code>
      
        <p>Sets the fully qualified resource name of the source view's id.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="16" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setVisibleToUser(boolean)">setVisibleToUser</a>(boolean visibleToUser)
      </code>
      
        <p>Sets whether this node is visible to the user.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/String">String</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#toString()">toString</a>()
      </code>
      
        <p>Returns a string representation of the object.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="14" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/view/accessibility/AccessibilityNodeInfo#writeToParcel(android.os.Parcel,%20int)">writeToParcel</a>(<a href="/reference/android/os/Parcel">Parcel</a> parcel, int flags)
      </code>
      
        <p>Flatten this object in to a Parcel.
 <p>
   <strong>Note:</strong> After the instance is written to a parcel it
      is recycled.
        
    
</p>
      
    </td>
  </tr>
  


</table>







<!-- ========== METHOD SUMMARY =========== -->
<table id="inhmethods" class="responsive methods inhtable">
<tr><th><h3 id="inherited-methods" data-text="Inherited methods">Inherited methods</h3></th></tr>


<tr  >
<td colspan="2">
  <div class="expandable jd-inherited-apis">
    <span class="expand-control">From class
      <code translate="no" dir="ltr">
        
          <a href="/reference/java/lang/Object">java.lang.Object</a>
        
      </code>
    </span>
    <table class="responsive">
      


  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/Object">Object</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#clone()">clone</a>()
      </code>
      
        <p>Creates and returns a copy of this object.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        boolean</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#equals(java.lang.Object)">equals</a>(<a href="/reference/java/lang/Object">Object</a> obj)
      </code>
      
        <p>Indicates whether some other object is "equal to" this one.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#finalize()">finalize</a>()
      </code>
      
        <p>Called by the garbage collector on an object when garbage collection
 determines that there are no more references to the object.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        final
        
        <a href="/reference/java/lang/Class">Class</a>&lt;?&gt;</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#getClass()">getClass</a>()
      </code>
      
        <p>Returns the runtime class of this <code translate="no" dir="ltr">Object</code>.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#hashCode()">hashCode</a>()
      </code>
      
        <p>Returns a hash code value for the object.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#notify()">notify</a>()
      </code>
      
        <p>Wakes up a single thread that is waiting on this object's
 monitor.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#notifyAll()">notifyAll</a>()
      </code>
      
        <p>Wakes up all threads that are waiting on this object's monitor.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        
        
        <a href="/reference/java/lang/String">String</a></code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#toString()">toString</a>()
      </code>
      
        <p>Returns a string representation of the object.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#wait(long,%20int)">wait</a>(long timeoutMillis, int nanos)
      </code>
      
        <p>Causes the current thread to wait until it is awakened, typically
 by being <em>notified</em> or <em>interrupted</em>, or until a
 certain amount of real time has elapsed.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#wait(long)">wait</a>(long timeoutMillis)
      </code>
      
        <p>Causes the current thread to wait until it is awakened, typically
 by being <em>notified</em> or <em>interrupted</em>, or until a
 certain amount of real time has elapsed.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        
        
        
        final
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/java/lang/Object#wait()">wait</a>()
      </code>
      
        <p>Causes the current thread to wait until it is awakened, typically
 by being <em>notified</em> or <em>interrupted</em>.
        
    
</p>
      
    </td>
  </tr>
  


    </table>
  </div>
</td></tr>



<tr  >
<td colspan="2">
  <div class="expandable jd-inherited-apis">
    <span class="expand-control">From interface
      <code translate="no" dir="ltr">
        
          <a href="/reference/android/os/Parcelable">android.os.Parcelable</a>
        
      </code>
    </span>
    <table class="responsive">
      


  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        abstract
        
        
        
        
        int</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/os/Parcelable#describeContents()">describeContents</a>()
      </code>
      
        <p>Describe the kinds of special objects contained in this Parcelable
 instance's marshaled representation.
        
    
</p>
      
    </td>
  </tr>
  

  <tr data-version-added="1" >
  
  
    <td><code translate="no" dir="ltr">
        abstract
        
        
        
        
        void</code>
    </td>
  
    <td width="100%">
      <code translate="no" dir="ltr">
      <a href="/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)">writeToParcel</a>(<a href="/reference/android/os/Parcel">Parcel</a> dest, int flags)
      </code>
      
        <p>Flatten this object in to a Parcel.
        
    
</p>
      
    </td>
  </tr>
  


    </table>
  </div>
</td></tr>


</table>



<!-- XML Attributes -->


<!-- Enum Values -->


<!-- Constants -->


<!-- ========= ENUM CONSTANTS DETAIL ======== -->
<h2 class="api-section" id="constants_1" data-text="Constants">Constants</h2>


<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_ACCESSIBILITY_FOCUS" data-text="ACTION_ACCESSIBILITY_FOCUS">ACTION_ACCESSIBILITY_FOCUS</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_ACCESSIBILITY_FOCUS</pre>
    
    

    
  <p>Action that gives accessibility focus to the node.</p></p>

    
      <p>Constant Value:
      
          64
          (0x00000040)
      
    
</div>

<div data-version-added="23" >
    <h3 class="api-name" id="ACTION_ARGUMENT_COLUMN_INT" data-text="ACTION_ARGUMENT_COLUMN_INT">ACTION_ARGUMENT_COLUMN_INT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 23</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_COLUMN_INT</pre>
    
    

    
  <p>Argument for specifying the collection column to make visible on screen.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SCROLL_TO_POSITION">AccessibilityAction#ACTION_SCROLL_TO_POSITION</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SCROLL_TO_POSITION">AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_TO_POSITION</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.action.ARGUMENT_COLUMN_INT"
      
    
</div>

<div data-version-added="34" >
    <h3 class="api-name" id="ACTION_ARGUMENT_DIRECTION_INT" data-text="ACTION_ARGUMENT_DIRECTION_INT">ACTION_ARGUMENT_DIRECTION_INT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_DIRECTION_INT</pre>
    
    

    
  <p><p>Argument to represent the direction when using
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SCROLL_IN_DIRECTION">AccessibilityAction#ACTION_SCROLL_IN_DIRECTION</a></code>.</p>

 <p>
     The value of this argument can be one of:
     <ul>
         <li><code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_DOWN">View#FOCUS_DOWN</a></code></li>
         <li><code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_UP">View#FOCUS_UP</a></code></li>
         <li><code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_LEFT">View#FOCUS_LEFT</a></code></li>
         <li><code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_RIGHT">View#FOCUS_RIGHT</a></code></li>
         <li><code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_FORWARD">View#FOCUS_FORWARD</a></code></li>
         <li><code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_BACKWARD">View#FOCUS_BACKWARD</a></code></li>
     </ul>
 </p></p></p>

    
      <p>Constant Value:
      
          "android.view.accessibility.action.ARGUMENT_DIRECTION_INT"
      
    
</div>

<div data-version-added="18" >
    <h3 class="api-name" id="ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN" data-text="ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN">ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN</pre>
    
    

    
  <p>Argument for whether when moving at granularity to extend the selection
 or to move it otherwise.
 <p>
 <strong>Type:</strong> boolean<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_NEXT_AT_MOVEMENT_GRANULARITY">AccessibilityAction#ACTION_NEXT_AT_MOVEMENT_GRANULARITY</a></code></li>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY">AccessibilityAction#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_NEXT_AT_MOVEMENT_GRANULARITY">AccessibilityNodeInfo.AccessibilityAction.ACTION_NEXT_AT_MOVEMENT_GRANULARITY</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY">AccessibilityNodeInfo.AccessibilityAction.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN"
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_ARGUMENT_HTML_ELEMENT_STRING" data-text="ACTION_ARGUMENT_HTML_ELEMENT_STRING">ACTION_ARGUMENT_HTML_ELEMENT_STRING</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_HTML_ELEMENT_STRING</pre>
    
    

    
  <p>Argument for which HTML element to get moving to the next/previous HTML element.
 <p>
 <strong>Type:</strong> String<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_NEXT_HTML_ELEMENT">AccessibilityAction#ACTION_NEXT_HTML_ELEMENT</a></code></li>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PREVIOUS_HTML_ELEMENT">AccessibilityAction#ACTION_PREVIOUS_HTML_ELEMENT</a></code></li>
 </ul>
 </p></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_NEXT_HTML_ELEMENT">AccessibilityNodeInfo.AccessibilityAction.ACTION_NEXT_HTML_ELEMENT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PREVIOUS_HTML_ELEMENT">AccessibilityNodeInfo.AccessibilityAction.ACTION_PREVIOUS_HTML_ELEMENT</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_HTML_ELEMENT_STRING"
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT" data-text="ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT">ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT</pre>
    
    

    
  <p>Argument for which movement granularity to be used when traversing the node text.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_NEXT_AT_MOVEMENT_GRANULARITY">AccessibilityAction#ACTION_NEXT_AT_MOVEMENT_GRANULARITY</a></code></li>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY">AccessibilityAction#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</a></code></li>
 </ul>
 </p></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_NEXT_AT_MOVEMENT_GRANULARITY">AccessibilityNodeInfo.AccessibilityAction.ACTION_NEXT_AT_MOVEMENT_GRANULARITY</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY">AccessibilityNodeInfo.AccessibilityAction.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT"
      
    
</div>

<div data-version-added="26" >
    <h3 class="api-name" id="ACTION_ARGUMENT_MOVE_WINDOW_X" data-text="ACTION_ARGUMENT_MOVE_WINDOW_X">ACTION_ARGUMENT_MOVE_WINDOW_X</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_MOVE_WINDOW_X</pre>
    
    

    
  <p>Argument for specifying the x coordinate to which to move a window.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_MOVE_WINDOW">AccessibilityAction#ACTION_MOVE_WINDOW</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_MOVE_WINDOW">AccessibilityNodeInfo.AccessibilityAction.ACTION_MOVE_WINDOW</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_MOVE_WINDOW_X"
      
    
</div>

<div data-version-added="26" >
    <h3 class="api-name" id="ACTION_ARGUMENT_MOVE_WINDOW_Y" data-text="ACTION_ARGUMENT_MOVE_WINDOW_Y">ACTION_ARGUMENT_MOVE_WINDOW_Y</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_MOVE_WINDOW_Y</pre>
    
    

    
  <p>Argument for specifying the y coordinate to which to move a window.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_MOVE_WINDOW">AccessibilityAction#ACTION_MOVE_WINDOW</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_MOVE_WINDOW">AccessibilityNodeInfo.AccessibilityAction.ACTION_MOVE_WINDOW</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_MOVE_WINDOW_Y"
      
    
</div>

<div data-version-added="30" >
    <h3 class="api-name" id="ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT" data-text="ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT">ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT</pre>
    
    

    
  <p>Argument to represent the duration in milliseconds to press and hold a node.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PRESS_AND_HOLD">AccessibilityAction#ACTION_PRESS_AND_HOLD</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_PRESS_AND_HOLD">AccessibilityNodeInfo.AccessibilityAction.ACTION_PRESS_AND_HOLD</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.action.ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT"
      
    
</div>

<div data-version-added="24" >
    <h3 class="api-name" id="ACTION_ARGUMENT_PROGRESS_VALUE" data-text="ACTION_ARGUMENT_PROGRESS_VALUE">ACTION_ARGUMENT_PROGRESS_VALUE</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 24</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_PROGRESS_VALUE</pre>
    
    

    
  <p>Argument for specifying the progress value to set.
 <p>
 <strong>Type:</strong> float<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_PROGRESS">AccessibilityAction#ACTION_SET_PROGRESS</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_PROGRESS">AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_PROGRESS</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE"
      
    
</div>

<div data-version-added="23" >
    <h3 class="api-name" id="ACTION_ARGUMENT_ROW_INT" data-text="ACTION_ARGUMENT_ROW_INT">ACTION_ARGUMENT_ROW_INT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 23</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_ROW_INT</pre>
    
    

    
  <p>Argument for specifying the collection row to make visible on screen.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SCROLL_TO_POSITION">AccessibilityAction#ACTION_SCROLL_TO_POSITION</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SCROLL_TO_POSITION">AccessibilityNodeInfo.AccessibilityAction.ACTION_SCROLL_TO_POSITION</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.action.ARGUMENT_ROW_INT"
      
    
</div>

<div data-version-added="18" >
    <h3 class="api-name" id="ACTION_ARGUMENT_SELECTION_END_INT" data-text="ACTION_ARGUMENT_SELECTION_END_INT">ACTION_ARGUMENT_SELECTION_END_INT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_SELECTION_END_INT</pre>
    
    

    
  <p>Argument for specifying the selection end.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_SELECTION">AccessibilityAction#ACTION_SET_SELECTION</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_SELECTION">AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_SELECTION</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_SELECTION_END_INT"
      
    
</div>

<div data-version-added="18" >
    <h3 class="api-name" id="ACTION_ARGUMENT_SELECTION_START_INT" data-text="ACTION_ARGUMENT_SELECTION_START_INT">ACTION_ARGUMENT_SELECTION_START_INT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_SELECTION_START_INT</pre>
    
    

    
  <p>Argument for specifying the selection start.
 <p>
 <strong>Type:</strong> int<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_SELECTION">AccessibilityAction#ACTION_SET_SELECTION</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_SELECTION">AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_SELECTION</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_SELECTION_START_INT"
      
    
</div>

<div data-version-added="21" >
    <h3 class="api-name" id="ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE" data-text="ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE">ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE</pre>
    
    

    
  <p>Argument for specifying the text content to set.
 <p>
 <strong>Type:</strong> CharSequence<br>
 <strong>Actions:</strong>
 <ul>
     <li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_TEXT">AccessibilityAction#ACTION_SET_TEXT</a></code></li>
 </ul></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_SET_TEXT">AccessibilityNodeInfo.AccessibilityAction.ACTION_SET_TEXT</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE"
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_CLEAR_ACCESSIBILITY_FOCUS" data-text="ACTION_CLEAR_ACCESSIBILITY_FOCUS">ACTION_CLEAR_ACCESSIBILITY_FOCUS</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_CLEAR_ACCESSIBILITY_FOCUS</pre>
    
    

    
  <p>Action that clears accessibility focus of the node.</p></p>

    
      <p>Constant Value:
      
          128
          (0x00000080)
      
    
</div>

<div data-version-added="14" >
    <h3 class="api-name" id="ACTION_CLEAR_FOCUS" data-text="ACTION_CLEAR_FOCUS">ACTION_CLEAR_FOCUS</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_CLEAR_FOCUS</pre>
    
    

    
  <p>Action that clears input focus of the node.</p></p>

    
      <p>Constant Value:
      
          2
          (0x00000002)
      
    
</div>

<div data-version-added="14" >
    <h3 class="api-name" id="ACTION_CLEAR_SELECTION" data-text="ACTION_CLEAR_SELECTION">ACTION_CLEAR_SELECTION</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_CLEAR_SELECTION</pre>
    
    

    
  <p>Action that deselects the node.</p></p>

    
      <p>Constant Value:
      
          8
          (0x00000008)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_CLICK" data-text="ACTION_CLICK">ACTION_CLICK</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_CLICK</pre>
    
    

    
  <p>Action that clicks on the node info.

 See <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction#ACTION_CLICK">AccessibilityAction#ACTION_CLICK</a></code></p></p>

    
      <p>Constant Value:
      
          16
          (0x00000010)
      
    
</div>

<div data-version-added="19" >
    <h3 class="api-name" id="ACTION_COLLAPSE" data-text="ACTION_COLLAPSE">ACTION_COLLAPSE</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_COLLAPSE</pre>
    
    

    
  <p>Action to collapse an expandable node.</p></p>

    
      <p>Constant Value:
      
          524288
          (0x00080000)
      
    
</div>

<div data-version-added="18" >
    <h3 class="api-name" id="ACTION_COPY" data-text="ACTION_COPY">ACTION_COPY</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_COPY</pre>
    
    

    
  <p>Action to copy the current selection to the clipboard.</p></p>

    
      <p>Constant Value:
      
          16384
          (0x00004000)
      
    
</div>

<div data-version-added="18" >
    <h3 class="api-name" id="ACTION_CUT" data-text="ACTION_CUT">ACTION_CUT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_CUT</pre>
    
    

    
  <p>Action to cut the current selection and place it to the clipboard.</p></p>

    
      <p>Constant Value:
      
          65536
          (0x00010000)
      
    
</div>

<div data-version-added="19" >
    <h3 class="api-name" id="ACTION_DISMISS" data-text="ACTION_DISMISS">ACTION_DISMISS</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_DISMISS</pre>
    
    

    
  <p>Action to dismiss a dismissable node.</p></p>

    
      <p>Constant Value:
      
          1048576
          (0x00100000)
      
    
</div>

<div data-version-added="19" >
    <h3 class="api-name" id="ACTION_EXPAND" data-text="ACTION_EXPAND">ACTION_EXPAND</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_EXPAND</pre>
    
    

    
  <p>Action to expand an expandable node.</p></p>

    
      <p>Constant Value:
      
          262144
          (0x00040000)
      
    
</div>

<div data-version-added="14" >
    <h3 class="api-name" id="ACTION_FOCUS" data-text="ACTION_FOCUS">ACTION_FOCUS</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_FOCUS</pre>
    
    

    
  <p>Action that gives input focus to the node.</p></p>

    
      <p>Constant Value:
      
          1
          (0x00000001)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_LONG_CLICK" data-text="ACTION_LONG_CLICK">ACTION_LONG_CLICK</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_LONG_CLICK</pre>
    
    

    
  <p>Action that long clicks on the node.

 <p>It does not support coordinate information for anchoring.</p></p></p>

    
      <p>Constant Value:
      
          32
          (0x00000020)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_NEXT_AT_MOVEMENT_GRANULARITY" data-text="ACTION_NEXT_AT_MOVEMENT_GRANULARITY">ACTION_NEXT_AT_MOVEMENT_GRANULARITY</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_NEXT_AT_MOVEMENT_GRANULARITY</pre>
    
    

    
  <p>Action that requests to go to the next entity in this node's text
 at a given movement granularity. For example, move to the next character,
 word, etc.
 <p>
 <strong>Arguments:</strong> <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT">ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT</a></code><,
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN">ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN</a></code><br>
 <strong>Example:</strong> Move to the previous character and do not extend selection.
 <code translate="no" dir="ltr"><pre translate="no" dir="ltr"><p>
   Bundle arguments = new Bundle();
   arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT,
           AccessibilityNodeInfo.MOVEMENT_GRANULARITY_CHARACTER);
   arguments.putBoolean(AccessibilityNodeInfo.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN,
           false);
   info.performAction(AccessibilityNodeInfo.ACTION_NEXT_AT_MOVEMENT_GRANULARITY, arguments);
 </code></pre></p>
 </p></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT">ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN">ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setMovementGranularities(int)">setMovementGranularities(int)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getMovementGranularities()">getMovementGranularities()</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_CHARACTER">MOVEMENT_GRANULARITY_CHARACTER</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_WORD">MOVEMENT_GRANULARITY_WORD</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_LINE">MOVEMENT_GRANULARITY_LINE</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_PARAGRAPH">MOVEMENT_GRANULARITY_PARAGRAPH</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_PAGE">MOVEMENT_GRANULARITY_PAGE</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          256
          (0x00000100)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_NEXT_HTML_ELEMENT" data-text="ACTION_NEXT_HTML_ELEMENT">ACTION_NEXT_HTML_ELEMENT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_NEXT_HTML_ELEMENT</pre>
    
    

    
  <p>Action to move to the next HTML element of a given type. For example, move
 to the BUTTON, INPUT, TABLE, etc.
 <p>
 <strong>Arguments:</strong> <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_HTML_ELEMENT_STRING">ACTION_ARGUMENT_HTML_ELEMENT_STRING</a></code><br>
 <strong>Example:</strong>
 <code translate="no" dir="ltr"><pre translate="no" dir="ltr"><p>
   Bundle arguments = new Bundle();
   arguments.putString(AccessibilityNodeInfo.ACTION_ARGUMENT_HTML_ELEMENT_STRING, "BUTTON");
   info.performAction(AccessibilityNodeInfo.ACTION_NEXT_HTML_ELEMENT, arguments);
 </code></pre></p>
 </p></p></p>

    
      <p>Constant Value:
      
          1024
          (0x00000400)
      
    
</div>

<div data-version-added="18" >
    <h3 class="api-name" id="ACTION_PASTE" data-text="ACTION_PASTE">ACTION_PASTE</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_PASTE</pre>
    
    

    
  <p>Action to paste the current clipboard content.</p></p>

    
      <p>Constant Value:
      
          32768
          (0x00008000)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY" data-text="ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY">ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</pre>
    
    

    
  <p>Action that requests to go to the previous entity in this node's text
 at a given movement granularity. For example, move to the next character,
 word, etc.
 <p>
 <strong>Arguments:</strong> <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT">ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT</a></code><,
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN">ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN</a></code><br>
 <strong>Example:</strong> Move to the next character and do not extend selection.
 <code translate="no" dir="ltr"><pre translate="no" dir="ltr"><p>
   Bundle arguments = new Bundle();
   arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT,
           AccessibilityNodeInfo.MOVEMENT_GRANULARITY_CHARACTER);
   arguments.putBoolean(AccessibilityNodeInfo.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN,
           false);
   info.performAction(AccessibilityNodeInfo.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY,
           arguments);
 </code></pre></p>
 </p></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT">ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN">ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setMovementGranularities(int)">setMovementGranularities(int)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getMovementGranularities()">getMovementGranularities()</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_CHARACTER">MOVEMENT_GRANULARITY_CHARACTER</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_WORD">MOVEMENT_GRANULARITY_WORD</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_LINE">MOVEMENT_GRANULARITY_LINE</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_PARAGRAPH">MOVEMENT_GRANULARITY_PARAGRAPH</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MOVEMENT_GRANULARITY_PAGE">MOVEMENT_GRANULARITY_PAGE</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          512
          (0x00000200)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_PREVIOUS_HTML_ELEMENT" data-text="ACTION_PREVIOUS_HTML_ELEMENT">ACTION_PREVIOUS_HTML_ELEMENT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_PREVIOUS_HTML_ELEMENT</pre>
    
    

    
  <p>Action to move to the previous HTML element of a given type. For example, move
 to the BUTTON, INPUT, TABLE, etc.
 <p>
 <strong>Arguments:</strong> <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_HTML_ELEMENT_STRING">ACTION_ARGUMENT_HTML_ELEMENT_STRING</a></code><br>
 <strong>Example:</strong>
 <code translate="no" dir="ltr"><pre translate="no" dir="ltr"><p>
   Bundle arguments = new Bundle();
   arguments.putString(AccessibilityNodeInfo.ACTION_ARGUMENT_HTML_ELEMENT_STRING, "BUTTON");
   info.performAction(AccessibilityNodeInfo.ACTION_PREVIOUS_HTML_ELEMENT, arguments);
 </code></pre></p>
 </p></p></p>

    
      <p>Constant Value:
      
          2048
          (0x00000800)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_SCROLL_BACKWARD" data-text="ACTION_SCROLL_BACKWARD">ACTION_SCROLL_BACKWARD</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_SCROLL_BACKWARD</pre>
    
    

    
  <p>Action to scroll the node content backward.</p></p>

    
      <p>Constant Value:
      
          8192
          (0x00002000)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="ACTION_SCROLL_FORWARD" data-text="ACTION_SCROLL_FORWARD">ACTION_SCROLL_FORWARD</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_SCROLL_FORWARD</pre>
    
    

    
  <p>Action to scroll the node content forward.</p></p>

    
      <p>Constant Value:
      
          4096
          (0x00001000)
      
    
</div>

<div data-version-added="14" >
    <h3 class="api-name" id="ACTION_SELECT" data-text="ACTION_SELECT">ACTION_SELECT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_SELECT</pre>
    
    

    
  <p>Action that selects the node.</p></p>

    
      <p>Constant Value:
      
          4
          (0x00000004)
      
    
</div>

<div data-version-added="18" >
    <h3 class="api-name" id="ACTION_SET_SELECTION" data-text="ACTION_SET_SELECTION">ACTION_SET_SELECTION</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_SET_SELECTION</pre>
    
    

    
  <p>Action to set the selection. Performing this action with no arguments
 clears the selection.
 <p>
 <strong>Arguments:</strong>
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SELECTION_START_INT">ACTION_ARGUMENT_SELECTION_START_INT</a></code>,
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SELECTION_END_INT">ACTION_ARGUMENT_SELECTION_END_INT</a></code><br>
 <strong>Example:</strong>
 <code translate="no" dir="ltr"><pre translate="no" dir="ltr"><p>
   Bundle arguments = new Bundle();
   arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_START_INT, 1);
   arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_END_INT, 2);
   info.performAction(AccessibilityNodeInfo.ACTION_SET_SELECTION, arguments);
 </code></pre></p>
 </p></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SELECTION_START_INT">ACTION_ARGUMENT_SELECTION_START_INT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SELECTION_END_INT">ACTION_ARGUMENT_SELECTION_END_INT</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          131072
          (0x00020000)
      
    
</div>

<div data-version-added="21" >
    <h3 class="api-name" id="ACTION_SET_TEXT" data-text="ACTION_SET_TEXT">ACTION_SET_TEXT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int ACTION_SET_TEXT</pre>
    
    

    
  <p>Action that sets the text of the node. Performing the action without argument, using <code translate="no" dir="ltr">
 null</code> or empty <code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code> will clear the text. This action will also put the
 cursor at the end of text.
 <p>
 <strong>Arguments:</strong>
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE">ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE</a></code><br>
 <strong>Example:</strong>
 <code translate="no" dir="ltr"><pre translate="no" dir="ltr"><p>
   Bundle arguments = new Bundle();
   arguments.putCharSequence(AccessibilityNodeInfo.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE,
       "android");
   info.performAction(AccessibilityNodeInfo.ACTION_SET_TEXT, arguments);
 </code></pre></p></p></p>

    
      <p>Constant Value:
      
          2097152
          (0x00200000)
      
    
</div>

<div data-version-added="30" >
    <h3 class="api-name" id="EXTRA_DATA_RENDERING_INFO_KEY" data-text="EXTRA_DATA_RENDERING_INFO_KEY">EXTRA_DATA_RENDERING_INFO_KEY</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> EXTRA_DATA_RENDERING_INFO_KEY</pre>
    
    

    
  <p>Key used to request extra data for the rendering information.
 The key requests that a <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">AccessibilityNodeInfo.ExtraRenderingInfo</a></code> be added to this
 info. This request is made with <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refreshWithExtraData(java.lang.String,%20android.os.Bundle)">refreshWithExtraData(java.lang.String, android.os.Bundle)</a></code> without
 argument.
 <p>
 The data can be retrieved from the <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">ExtraRenderingInfo</a></code> returned by
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getExtraRenderingInfo()">getExtraRenderingInfo()</a></code> using <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo#getLayoutSize()">ExtraRenderingInfo#getLayoutSize</a></code>,
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo#getTextSizeInPx()">ExtraRenderingInfo#getTextSizeInPx()</a></code> and
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo#getTextSizeUnit()">ExtraRenderingInfo#getTextSizeUnit()</a></code>. For layout params, it is supported by both
 <code translate="no" dir="ltr"><a href="/reference/android/widget/TextView">TextView</a></code> and <code translate="no" dir="ltr"><a href="/reference/android/view/ViewGroup">ViewGroup</a></code>. For text size and unit, it is only supported by
 <code translate="no" dir="ltr"><a href="/reference/android/widget/TextView">TextView</a></code>.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refreshWithExtraData(java.lang.String,%20android.os.Bundle)">refreshWithExtraData(String, Bundle)</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.extra.DATA_RENDERING_INFO_KEY"
      
    
</div>

<div data-version-added="26" >
    <h3 class="api-name" id="EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH" data-text="EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH</pre>
    
    

    
  <p>Integer argument specifying the end index of the requested text location data. Must be
 positive and no larger than <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH</a></code>.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY">EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH"
      
    
</div>

<div data-version-added="31" >
    <h3 class="api-name" id="EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH" data-text="EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 31</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH</pre>
    
    

    
  <p>The maximum allowed length of the requested text location data.</p></p>

    
      <p>Constant Value:
      
          20000
          (0x00004e20)
      
    
</div>

<div data-version-added="26" >
    <h3 class="api-name" id="EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX" data-text="EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX</pre>
    
    

    
  <p>Integer argument specifying the start index of the requested text location data. Must be
 valid inside the CharSequence returned by <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getText()">getText()</a></code>.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY">EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX"
      
    
</div>

<div data-version-added="26" >
    <h3 class="api-name" id="EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY" data-text="EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY">EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/java/lang/String">String</a> EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY</pre>
    
    

    
  <p>Key used to request and locate extra data for text character location. This key requests that
 an array of <code translate="no" dir="ltr"><a href="/reference/android/graphics/RectF">RectF</a></code>s be added to the extras. This request is made with
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refreshWithExtraData(java.lang.String,%20android.os.Bundle)">refreshWithExtraData(java.lang.String, android.os.Bundle)</a></code>. The arguments taken by this request are two
 integers: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX</a></code> and
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH">EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH</a></code>. The starting index must be valid
 inside the CharSequence returned by <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getText()">getText()</a></code>, and the length must be positive.
 <p>
 The data can be retrieved from the <code translate="no" dir="ltr">Bundle</code> returned by <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getExtras()">getExtras()</a></code> using this
 string as a key for <code translate="no" dir="ltr"><a href="/reference/android/os/Bundle#getParcelableArray(java.lang.String)">Bundle#getParcelableArray(String)</a></code>. The
 <code translate="no" dir="ltr"><a href="/reference/android/graphics/RectF">RectF</a></code> will be null for characters that either do not exist or are
 off the screen.

 </p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refreshWithExtraData(java.lang.String,%20android.os.Bundle)">refreshWithExtraData(String, Bundle)</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_KEY"
      
    
</div>

<div data-version-added="33" >
    <h3 class="api-name" id="FLAG_PREFETCH_ANCESTORS" data-text="FLAG_PREFETCH_ANCESTORS">FLAG_PREFETCH_ANCESTORS</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FLAG_PREFETCH_ANCESTORS</pre>
    
    

    
  <p>Prefetching strategy that prefetches the ancestors of the requested node.
 <p> Ancestors will be prefetched before siblings and descendants.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getChild(int,%20int)">getChild(int, int)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent(int)">getParent(int)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityWindowInfo#getRoot(int)">AccessibilityWindowInfo.getRoot(int)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService#getRootInActiveWindow(int)">AccessibilityService.getRootInActiveWindow(int)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityRecord#getSource(int)">AccessibilityRecord.getSource(int)</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          1
          (0x00000001)
      
    
</div>

<div data-version-added="33" >
    <h3 class="api-name" id="FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST" data-text="FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST">FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</pre>
    
    

    
  <p>Prefetching strategy that prefetches the descendants of the requested node breadth-first.
 <p> This must not be combined with <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_HYBRID">FLAG_PREFETCH_DESCENDANTS_HYBRID</a></code> or
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST">FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</a></code> or this will trigger an
 IllegalArgumentException.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">for where to use these flags.</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          16
          (0x00000010)
      
    
</div>

<div data-version-added="33" >
    <h3 class="api-name" id="FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST" data-text="FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST">FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</pre>
    
    

    
  <p>Prefetching strategy that prefetches the descendants of the requested node depth-first.
 <p> This must not be combined with <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_HYBRID">FLAG_PREFETCH_DESCENDANTS_HYBRID</a></code> or
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST">FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</a></code> or this will trigger an
 IllegalArgumentException.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">for where to use these flags.</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          8
          (0x00000008)
      
    
</div>

<div data-version-added="33" >
    <h3 class="api-name" id="FLAG_PREFETCH_DESCENDANTS_HYBRID" data-text="FLAG_PREFETCH_DESCENDANTS_HYBRID">FLAG_PREFETCH_DESCENDANTS_HYBRID</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FLAG_PREFETCH_DESCENDANTS_HYBRID</pre>
    
    

    
  <p>Prefetching strategy that prefetches the descendants in a hybrid depth first and breadth
 first approach.
 <p> The children of the root node is prefetched before recursing on the children. This
 must not be combined with <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST">FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</a></code> or
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST">FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</a></code> or this will trigger an
 IllegalArgumentException.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">for where to use these flags.</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          4
          (0x00000004)
      
    
</div>

<div data-version-added="33" >
    <h3 class="api-name" id="FLAG_PREFETCH_SIBLINGS" data-text="FLAG_PREFETCH_SIBLINGS">FLAG_PREFETCH_SIBLINGS</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FLAG_PREFETCH_SIBLINGS</pre>
    
    

    
  <p>Prefetching strategy that prefetches the siblings of the requested node.
 <p> To avoid disconnected trees, this flag will also prefetch the parent. Siblings will be
 prefetched before descendants.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">for where to use these flags.</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          2
          (0x00000002)
      
    
</div>

<div data-version-added="33" >
    <h3 class="api-name" id="FLAG_PREFETCH_UNINTERRUPTIBLE" data-text="FLAG_PREFETCH_UNINTERRUPTIBLE">FLAG_PREFETCH_UNINTERRUPTIBLE</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FLAG_PREFETCH_UNINTERRUPTIBLE</pre>
    
    

    
  <p>Prefetching flag that specifies prefetching should not be interrupted by a request to
 retrieve a node or perform an action on a node.</p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">for where to use these flags.</a></code></li>
      </ul>
  </div>

    
      <p>Constant Value:
      
          32
          (0x00000020)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="FOCUS_ACCESSIBILITY" data-text="FOCUS_ACCESSIBILITY">FOCUS_ACCESSIBILITY</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FOCUS_ACCESSIBILITY</pre>
    
    

    
  <p>The accessibility focus.</p></p>

    
      <p>Constant Value:
      
          2
          (0x00000002)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="FOCUS_INPUT" data-text="FOCUS_INPUT">FOCUS_INPUT</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int FOCUS_INPUT</pre>
    
    

    
  <p>The input focus.</p></p>

    
      <p>Constant Value:
      
          1
          (0x00000001)
      
    
</div>

<div data-version-added="33" >
    <h3 class="api-name" id="MAX_NUMBER_OF_PREFETCHED_NODES" data-text="MAX_NUMBER_OF_PREFETCHED_NODES">MAX_NUMBER_OF_PREFETCHED_NODES</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int MAX_NUMBER_OF_PREFETCHED_NODES</pre>
    
    

    
  <p>Maximum batch size of prefetched nodes for a request.</p></p>

    
      <p>Constant Value:
      
          50
          (0x00000032)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="MOVEMENT_GRANULARITY_CHARACTER" data-text="MOVEMENT_GRANULARITY_CHARACTER">MOVEMENT_GRANULARITY_CHARACTER</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int MOVEMENT_GRANULARITY_CHARACTER</pre>
    
    

    
  <p>Movement granularity bit for traversing the text of a node by character.</p></p>

    
      <p>Constant Value:
      
          1
          (0x00000001)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="MOVEMENT_GRANULARITY_LINE" data-text="MOVEMENT_GRANULARITY_LINE">MOVEMENT_GRANULARITY_LINE</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int MOVEMENT_GRANULARITY_LINE</pre>
    
    

    
  <p>Movement granularity bit for traversing the text of a node by line.</p></p>

    
      <p>Constant Value:
      
          4
          (0x00000004)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="MOVEMENT_GRANULARITY_PAGE" data-text="MOVEMENT_GRANULARITY_PAGE">MOVEMENT_GRANULARITY_PAGE</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int MOVEMENT_GRANULARITY_PAGE</pre>
    
    

    
  <p>Movement granularity bit for traversing the text of a node by page.</p></p>

    
      <p>Constant Value:
      
          16
          (0x00000010)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="MOVEMENT_GRANULARITY_PARAGRAPH" data-text="MOVEMENT_GRANULARITY_PARAGRAPH">MOVEMENT_GRANULARITY_PARAGRAPH</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int MOVEMENT_GRANULARITY_PARAGRAPH</pre>
    
    

    
  <p>Movement granularity bit for traversing the text of a node by paragraph.</p></p>

    
      <p>Constant Value:
      
          8
          (0x00000008)
      
    
</div>

<div data-version-added="16" >
    <h3 class="api-name" id="MOVEMENT_GRANULARITY_WORD" data-text="MOVEMENT_GRANULARITY_WORD">MOVEMENT_GRANULARITY_WORD</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final int MOVEMENT_GRANULARITY_WORD</pre>
    
    

    
  <p>Movement granularity bit for traversing the text of a node by word.</p></p>

    
      <p>Constant Value:
      
          2
          (0x00000002)
      
    
</div>




<!-- Fields -->


<!-- ========= FIELD DETAIL ======== -->
<h2 class="api-section" id="fields_1" data-text="Fields">Fields</h2>


<div data-version-added="14" >
    <h3 class="api-name" id="CREATOR" data-text="CREATOR">CREATOR</h3>
    <div class="api-level">
      
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static final <a href="/reference/android/os/Parcelable.Creator">Creator</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt; CREATOR</pre>
    
    

    
  <p></p></p>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable.Creator">Parcelable.Creator</a></code></li>
      </ul>
  </div>

    
</div>




<!-- Public ctors -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->
<h2 class="api-section" id="public-constructors_1" data-text="Public constructors">Public constructors</h2>


<div data-version-added="30">
    <h3 class="api-name" id="AccessibilityNodeInfo()" data-text="AccessibilityNodeInfo">AccessibilityNodeInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public AccessibilityNodeInfo ()</pre>
    
    

    
  <p>Creates a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>.</p></p>

</div>

<div data-version-added="30">
    <h3 class="api-name" id="AccessibilityNodeInfo(android.view.View)" data-text="AccessibilityNodeInfo">AccessibilityNodeInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public AccessibilityNodeInfo (<a href="/reference/android/view/View">View</a> source)</pre>
    
    

    
  <p>Creates a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> with the given <code translate="no" dir="ltr">source</code>.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">source</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The source view.
 
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="30">
    <h3 class="api-name" id="AccessibilityNodeInfo(android.view.View,%20int)" data-text="AccessibilityNodeInfo">AccessibilityNodeInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public AccessibilityNodeInfo (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Creates a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> with the given <code translate="no" dir="ltr">source</code>.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="30">
    <h3 class="api-name" id="AccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)" data-text="AccessibilityNodeInfo">AccessibilityNodeInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public AccessibilityNodeInfo (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> info)</pre>
    
    

    
  <p>Copy constructor. Creates a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>, and this new instance is
 initialized from the given <code translate="no" dir="ltr">info</code>.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">info</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo</code>: The other info.
 
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>





<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- Protected ctors -->



<!-- ========= METHOD DETAIL ======== -->
<!-- Public methdos -->

<h2 class="api-section" id="public-methods_1" data-text="Public methods">Public methods</h2>


<div data-version-added="14" data-version-deprecated="21">
    <h3 class="api-name" id="addAction(int)" data-text="addAction">addAction</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void addAction (int action)</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 21.</strong><br/>
    This has been deprecated for <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#addAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)">addAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)</a></code>
  </p>
  <p>Adds an action that can be performed on the node.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">action</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The action.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalArgumentException">IllegalArgumentException</a></code></td>
          <td width="100%">If the argument is not one of the standard actions.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="21">
    <h3 class="api-name" id="addAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)" data-text="addAction">addAction</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void addAction (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a> action)</pre>
    
    

    
  <p>Adds an action that can be performed on the node.
 <p>
 To add a standard action use the static constants on <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityAction</a></code>.
 To add a custom action create a new <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityAction</a></code> by passing in a
 resource id from your application as the action id and an optional label that
 describes the action. To override one of the standard actions use as the action
 id of a standard action id such as <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLICK">ACTION_CLICK</a></code> and an optional label that
 describes the action.
 </p>
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">action</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo.AccessibilityAction</code>: The action.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="16">
    <h3 class="api-name" id="addChild(android.view.View,%20int)" data-text="addChild">addChild</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void addChild (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Adds a virtual child which is a descendant of the given <code translate="no" dir="ltr">root</code>.
 If <code translate="no" dir="ltr">virtualDescendantId</code> is <code translate="no" dir="ltr"><a href="/reference/android/view/View#NO_ID">View#NO_ID</a></code> the root
 is added as a child.
 <p>
 A virtual descendant is an imaginary View that is reported as a part of the view
 hierarchy for accessibility purposes. This enables custom views that draw complex
 content to report them selves as a tree of virtual views, thus conveying their
 logical structure.
 Note that a view cannot be made its own child.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual child.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="addChild(android.view.View)" data-text="addChild">addChild</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void addChild (<a href="/reference/android/view/View">View</a> child)</pre>
    
    

    
  <p>Adds a child.
 <p>
 <strong>Note:</strong> Cannot be called from an
 <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 This class is made immutable before being delivered to an AccessibilityService.
 Note that a view cannot be made its own child.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">child</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The child.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="19">
    <h3 class="api-name" id="canOpenPopup()" data-text="canOpenPopup">canOpenPopup</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean canOpenPopup ()</pre>
    
    

    
  <p>Gets if this node opens a popup or a dialog.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">If the the node opens a popup.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="describeContents()" data-text="describeContents">describeContents</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int describeContents ()</pre>
    
    

    
  <p>Describe the kinds of special objects contained in this Parcelable
 instance's marshaled representation. For example, if the object will
 include a file descriptor in the output of <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)">writeToParcel(android.os.Parcel, int)</a></code>,
 the return value of this method must include the
 <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR">CONTENTS_FILE_DESCRIPTOR</a></code> bit.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">a bitmask indicating the set of special object types marshaled
 by this Parcelable object instance.
 
 Value is either <code translate="no" dir="ltr">0</code> or <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR">CONTENTS_FILE_DESCRIPTOR</a></code></p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="equals(java.lang.Object)" data-text="equals">equals</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean equals (<a href="/reference/java/lang/Object">Object</a> object)</pre>
    
    

    
  <p>Indicates whether some other object is "equal to" this one.
 <p>
 The <code translate="no" dir="ltr">equals</code> method implements an equivalence relation
 on non-null object references:
 <ul>
 <li>It is <i>reflexive</i>: for any non-null reference value
     <code translate="no" dir="ltr">x</code>, <code translate="no" dir="ltr">x.equals(x)</code> should return
     <code translate="no" dir="ltr">true</code>.
 <li>It is <i>symmetric</i>: for any non-null reference values
     <code translate="no" dir="ltr">x</code> and <code translate="no" dir="ltr">y</code>, <code translate="no" dir="ltr">x.equals(y)</code>
     should return <code translate="no" dir="ltr">true</code> if and only if
     <code translate="no" dir="ltr">y.equals(x)</code> returns <code translate="no" dir="ltr">true</code>.
 <li>It is <i>transitive</i>: for any non-null reference values
     <code translate="no" dir="ltr">x</code>, <code translate="no" dir="ltr">y</code>, and <code translate="no" dir="ltr">z</code>, if
     <code translate="no" dir="ltr">x.equals(y)</code> returns <code translate="no" dir="ltr">true</code> and
     <code translate="no" dir="ltr">y.equals(z)</code> returns <code translate="no" dir="ltr">true</code>, then
     <code translate="no" dir="ltr">x.equals(z)</code> should return <code translate="no" dir="ltr">true</code>.
 <li>It is <i>consistent</i>: for any non-null reference values
     <code translate="no" dir="ltr">x</code> and <code translate="no" dir="ltr">y</code>, multiple invocations of
     <code translate="no" dir="ltr">x.equals(y)</code> consistently return <code translate="no" dir="ltr">true</code>
     or consistently return <code translate="no" dir="ltr">false</code>, provided no
     information used in <code translate="no" dir="ltr">equals</code> comparisons on the
     objects is modified.
 <li>For any non-null reference value <code translate="no" dir="ltr">x</code>,
     <code translate="no" dir="ltr">x.equals(null)</code> should return <code translate="no" dir="ltr">false</code>.
 </ul>
 <p>
 The <code translate="no" dir="ltr">equals</code> method for class <code translate="no" dir="ltr">Object</code> implements
 the most discriminating possible equivalence relation on objects;
 that is, for any non-null reference values <code translate="no" dir="ltr">x</code> and
 <code translate="no" dir="ltr">y</code>, this method returns <code translate="no" dir="ltr">true</code> if and only
 if <code translate="no" dir="ltr">x</code> and <code translate="no" dir="ltr">y</code> refer to the same object
 (<code translate="no" dir="ltr">x == y</code> has the value <code translate="no" dir="ltr">true</code>).
 <p>
 Note that it is generally necessary to override the <code translate="no" dir="ltr">hashCode</code>
 method whenever this method is overridden, so as to maintain the
 general contract for the <code translate="no" dir="ltr">hashCode</code> method, which states
 that equal objects must have equal hash codes.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">object</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Object</code>: This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if this object is the same as the obj
          argument; <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="findAccessibilityNodeInfosByText(java.lang.String)" data-text="findAccessibilityNodeInfosByText">findAccessibilityNodeInfosByText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt; findAccessibilityNodeInfosByText (<a href="/reference/java/lang/String">String</a> text)</pre>
    
    

    
  <p>Finds <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>s by text. The match is case
 insensitive containment. The search is relative to this info i.e.
 this info is the root of the traversed tree.

 <p>
 <strong>Note:</strong> If this view hierarchy has a <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView">SurfaceView</a></code> embedding another
 view hierarchy via <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView#setChildSurfacePackage(android.view.SurfaceControlViewHost.SurfacePackage)">SurfaceView#setChildSurfacePackage</a></code>, there is a limitation that
 this API won't be able to find the node for the view on the embedded view hierarchy. It's
 because views don't know about the embedded hierarchies. Instead, you could traverse all
 the children to find the node.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">text</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">String</code>: The searched text.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt;</code></td>
        <td width="100%">A list of node info.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="18">
    <h3 class="api-name" id="findAccessibilityNodeInfosByViewId(java.lang.String)" data-text="findAccessibilityNodeInfosByViewId">findAccessibilityNodeInfosByViewId</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt; findAccessibilityNodeInfosByViewId (<a href="/reference/java/lang/String">String</a> viewId)</pre>
    
    

    
  <p>Finds <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>s by the fully qualified view id's resource
 name where a fully qualified id is of the from "package:id/id_resource_name".
 For example, if the target application's package is "foo.bar" and the id
 resource name is "baz", the fully qualified resource id is "foo.bar:id/baz".

 <p>
   <strong>Note:</strong> The primary usage of this API is for UI test automation
   and in order to report the fully qualified view id if an <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code>
   the client has to set the <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS">AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS</a></code>
   flag when configuring the <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 </p>
 <p>
 <strong>Note:</strong> If this view hierarchy has a <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView">SurfaceView</a></code> embedding another
 view hierarchy via <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView#setChildSurfacePackage(android.view.SurfaceControlViewHost.SurfacePackage)">SurfaceView#setChildSurfacePackage</a></code>, there is a limitation that
 this API won't be able to find the node for the view on the embedded view hierarchy. It's
 because views don't know about the embedded hierarchies. Instead, you could traverse all
 the children to find the node.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">viewId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">String</code>: The fully qualified resource name of the view id to find.
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a>&gt;</code></td>
        <td width="100%">A list of node info.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="findFocus(int)" data-text="findFocus">findFocus</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> findFocus (int focus)</pre>
    
    

    
  <p>Find the view that has the specified focus type. The search starts from
 the view represented by this node info.

 <p>
 <strong>Note:</strong> If this view hierarchy has a <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView">SurfaceView</a></code> embedding another
 view hierarchy via <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView#setChildSurfacePackage(android.view.SurfaceControlViewHost.SurfacePackage)">SurfaceView#setChildSurfacePackage</a></code>, there is a limitation that
 this API won't be able to find the node for the view on the embedded view hierarchy. It's
 because views don't know about the embedded hierarchies. Instead, you could traverse all
 the children to find the node. Or, use <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService#findFocus(int)">AccessibilityService#findFocus(int)</a></code> for
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FOCUS_ACCESSIBILITY">FOCUS_ACCESSIBILITY</a></code> only since it has no such limitation.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">focus</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The focus to find. One of <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FOCUS_INPUT">FOCUS_INPUT</a></code> or
         <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FOCUS_ACCESSIBILITY">FOCUS_ACCESSIBILITY</a></code>.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The node info of the focused view or null.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FOCUS_INPUT">FOCUS_INPUT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FOCUS_ACCESSIBILITY">FOCUS_ACCESSIBILITY</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="focusSearch(int)" data-text="focusSearch">focusSearch</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> focusSearch (int direction)</pre>
    
    

    
  <p>Searches for the nearest view in the specified direction that can take
 the input focus.

 <p>
 <strong>Note:</strong> If this view hierarchy has a <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView">SurfaceView</a></code> embedding another
 view hierarchy via <code translate="no" dir="ltr"><a href="/reference/android/view/SurfaceView#setChildSurfacePackage(android.view.SurfaceControlViewHost.SurfacePackage)">SurfaceView#setChildSurfacePackage</a></code>, there is a limitation that
 this API won't be able to find the node for the view in the specified direction on the
 embedded view hierarchy. It's because views don't know about the embedded hierarchies.
 Instead, you could traverse all the children to find the node.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">direction</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The direction. Can be one of:
     <code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_DOWN">View#FOCUS_DOWN</a></code>,
     <code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_UP">View#FOCUS_UP</a></code>,
     <code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_LEFT">View#FOCUS_LEFT</a></code>,
     <code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_RIGHT">View#FOCUS_RIGHT</a></code>,
     <code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_FORWARD">View#FOCUS_FORWARD</a></code>,
     <code translate="no" dir="ltr"><a href="/reference/android/view/View#FOCUS_BACKWARD">View#FOCUS_BACKWARD</a></code>.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The node info for the view that can take accessibility focus.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="21">
    <h3 class="api-name" id="getActionList()" data-text="getActionList">getActionList</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a>&gt; getActionList ()</pre>
    
    

    
  <p>Gets the actions that can be performed on the node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/util/List">List</a>&lt;<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a>&gt;</code></td>
        <td width="100%"><!-- no returns description in source --></p></td>
      </tr>
    </table>

</div>

<div data-version-added="14" data-version-deprecated="21">
    <h3 class="api-name" id="getActions()" data-text="getActions">getActions</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getActions ()</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 21.</strong><br/>
    Use <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getActionList()">getActionList()</a></code>.
  </p>
  <p>Gets the actions that can be performed on the node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The bit mask of with actions.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_FOCUS">ACTION_FOCUS</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLEAR_FOCUS">ACTION_CLEAR_FOCUS</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SELECT">ACTION_SELECT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLEAR_SELECTION">ACTION_CLEAR_SELECTION</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_ACCESSIBILITY_FOCUS">ACTION_ACCESSIBILITY_FOCUS</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLEAR_ACCESSIBILITY_FOCUS">ACTION_CLEAR_ACCESSIBILITY_FOCUS</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_CLICK">ACTION_CLICK</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_LONG_CLICK">ACTION_LONG_CLICK</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_NEXT_AT_MOVEMENT_GRANULARITY">ACTION_NEXT_AT_MOVEMENT_GRANULARITY</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY">ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_NEXT_HTML_ELEMENT">ACTION_NEXT_HTML_ELEMENT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_PREVIOUS_HTML_ELEMENT">ACTION_PREVIOUS_HTML_ELEMENT</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SCROLL_FORWARD">ACTION_SCROLL_FORWARD</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SCROLL_BACKWARD">ACTION_SCROLL_BACKWARD</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="26">
    <h3 class="api-name" id="getAvailableExtraData()" data-text="getAvailableExtraData">getAvailableExtraData</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/util/List">List</a>&lt;<a href="/reference/java/lang/String">String</a>&gt; getAvailableExtraData ()</pre>
    
    

    
  <p>Get the extra data available for this node.
 <p>
 Some data that is useful for some accessibility services is expensive to compute, and would
 place undue overhead on apps to compute all the time. That data can be requested with
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refreshWithExtraData(java.lang.String,%20android.os.Bundle)">refreshWithExtraData(java.lang.String, android.os.Bundle)</a></code>.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/util/List">List</a>&lt;<a href="/reference/java/lang/String">String</a>&gt;</code></td>
        <td width="100%">An unmodifiable list of keys corresponding to extra data that can be requested.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_RENDERING_INFO_KEY">EXTRA_DATA_RENDERING_INFO_KEY</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY">EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14" data-version-deprecated="29">
    <h3 class="api-name" id="getBoundsInParent(android.graphics.Rect)" data-text="getBoundsInParent">getBoundsInParent</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      29</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void getBoundsInParent (<a href="/reference/android/graphics/Rect">Rect</a> outBounds)</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 29.</strong><br/>
    Use <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getBoundsInScreen(android.graphics.Rect)">getBoundsInScreen(android.graphics.Rect)</a></code> instead.
  </p>
  <p>Gets the node bounds in the viewParent's coordinates.
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent()">getParent()</a></code> does not represent the source's viewParent.
 Instead it represents the result of <code translate="no" dir="ltr"><a href="/reference/android/view/View#getParentForAccessibility()">View#getParentForAccessibility()</a></code>,
 which returns the closest ancestor where <code translate="no" dir="ltr"><a href="/reference/android/view/View#isImportantForAccessibility()">View#isImportantForAccessibility()</a></code> is true.
 So this method is not reliable.
 <p>
 When magnification is enabled, the bounds in parent are also scaled up by magnification
 scale. For example, it returns Rect(20, 20, 200, 200) for original bounds
 Rect(10, 10, 100, 100), when the magnification scale is 2.
 <p/></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">outBounds</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Rect</code>: The output node bounds.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getBoundsInScreen(android.graphics.Rect)" data-text="getBoundsInScreen">getBoundsInScreen</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void getBoundsInScreen (<a href="/reference/android/graphics/Rect">Rect</a> outBounds)</pre>
    
    

    
  <p>Gets the node bounds in screen coordinates.
 <p>
 When magnification is enabled, the bounds in screen are scaled up by magnification scale
 and the positions are also adjusted according to the offset of magnification viewport.
 For example, it returns Rect(-180, -180, 0, 0) for original bounds Rect(10, 10, 100, 100),
 when the magnification scale is 2 and offsets for X and Y are both 200.
 <p/></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">outBounds</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Rect</code>: The output node bounds.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="getBoundsInWindow(android.graphics.Rect)" data-text="getBoundsInWindow">getBoundsInWindow</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void getBoundsInWindow (<a href="/reference/android/graphics/Rect">Rect</a> outBounds)</pre>
    
    

    
  <p>Gets the node bounds in window coordinates.
 <p>
 When magnification is enabled, the bounds in window are scaled up by magnification scale
 and the positions are also adjusted according to the offset of magnification viewport.
 For example, it returns Rect(-180, -180, 0, 0) for original bounds Rect(10, 10, 100, 100),
 when the magnification scale is 2 and offsets for X and Y are both 200.
 <p/></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">outBounds</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Rect</code>: The output node bounds.
 
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getChild(int)" data-text="getChild">getChild</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getChild (int index)</pre>
    
    

    
  <p>Get the child at given index.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">index</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The child index.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The child node.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called outside of an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code> and before
                               calling <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setQueryFromAppProcessEnabled(android.view.View,%20boolean)">setQueryFromAppProcessEnabled(View, boolean)</a></code>.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="33">
    <h3 class="api-name" id="getChild(int,%20int)" data-text="getChild">getChild</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getChild (int index, 
                int prefetchingStrategy)</pre>
    
    

    
  <p>Get the child at given index.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">index</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The child index.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">prefetchingStrategy</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: the prefetching strategy.
 Value is either <code translate="no" dir="ltr">0</code> or a combination of <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">FLAG_PREFETCH_ANCESTORS</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_SIBLINGS">FLAG_PREFETCH_SIBLINGS</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_HYBRID">FLAG_PREFETCH_DESCENDANTS_HYBRID</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST">FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST">FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</a></code>, and <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_UNINTERRUPTIBLE">FLAG_PREFETCH_UNINTERRUPTIBLE</a></code></p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The child node.

 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called outside of an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code> and before
                               calling <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setQueryFromAppProcessEnabled(android.view.View,%20boolean)">setQueryFromAppProcessEnabled(View, boolean)</a></code>.</td>
        </tr>
      </table>
  
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent(int)">for a description of prefetching.</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getChildCount()" data-text="getChildCount">getChildCount</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getChildCount ()</pre>
    
    

    
  <p>Gets the number of children.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The child count.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getClassName()" data-text="getClassName">getClassName</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getClassName ()</pre>
    
    

    
  <p>Gets the class this node comes from.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The class name.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="getCollectionInfo()" data-text="getCollectionInfo">getCollectionInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionInfo">AccessibilityNodeInfo.CollectionInfo</a> getCollectionInfo ()</pre>
    
    

    
  <p>Gets the collection info if the node is a collection. A collection
 child is always a collection item.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionInfo">AccessibilityNodeInfo.CollectionInfo</a></code></td>
        <td width="100%">The collection info.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="getCollectionItemInfo()" data-text="getCollectionItemInfo">getCollectionItemInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo">AccessibilityNodeInfo.CollectionItemInfo</a> getCollectionItemInfo ()</pre>
    
    

    
  <p>Gets the collection item info if the node is a collection item. A collection
 item is always a child of a collection.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo">AccessibilityNodeInfo.CollectionItemInfo</a></code></td>
        <td width="100%">The collection item info.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="getContainerTitle()" data-text="getContainerTitle">getContainerTitle</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getContainerTitle ()</pre>
    
    

    
  <p>Returns the container title.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setContainerTitle(java.lang.CharSequence)">for details.</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getContentDescription()" data-text="getContentDescription">getContentDescription</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getContentDescription ()</pre>
    
    

    
  <p>Gets the content description of this node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The content description.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="24">
    <h3 class="api-name" id="getDrawingOrder()" data-text="getDrawingOrder">getDrawingOrder</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 24</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getDrawingOrder ()</pre>
    
    

    
  <p>Get the drawing order of the view corresponding it this node.
 <p>
 Drawing order is determined only within the node's parent, so this index is only relative
 to its siblings.
 <p>
 In some cases, the drawing order is essentially simultaneous, so it is possible for two
 siblings to return the same value. It is also possible that values will be skipped.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The drawing position of the view corresponding to this node relative to its siblings.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="21">
    <h3 class="api-name" id="getError()" data-text="getError">getError</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getError ()</pre>
    
    

    
  <p>Gets the error text of this node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The error text.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="30">
    <h3 class="api-name" id="getExtraRenderingInfo()" data-text="getExtraRenderingInfo">getExtraRenderingInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">AccessibilityNodeInfo.ExtraRenderingInfo</a> getExtraRenderingInfo ()</pre>
    
    

    
  <p>Gets the <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">extra rendering info</a></code> if the node is meant to be
 refreshed with extra data to examine rendering related accessibility issues.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">AccessibilityNodeInfo.ExtraRenderingInfo</a></code></td>
        <td width="100%">The <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo">extra rendering info</a></code>.

 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_RENDERING_INFO_KEY">EXTRA_DATA_RENDERING_INFO_KEY</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#refreshWithExtraData(java.lang.String,%20android.os.Bundle)">refreshWithExtraData(String, Bundle)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="getExtras()" data-text="getExtras">getExtras</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/os/Bundle">Bundle</a> getExtras ()</pre>
    
    

    
  <p>Gets an optional bundle with extra data. The bundle
 is lazily created and never <code translate="no" dir="ltr">null</code>.
 <p>
 <strong>Note:</strong> It is recommended to use the package
 name of your application as a prefix for the keys to avoid
 collisions which may confuse an accessibility service if the
 same key has different meaning when emitted from different
 applications.
 </p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/os/Bundle">Bundle</a></code></td>
        <td width="100%">The bundle.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="26">
    <h3 class="api-name" id="getHintText()" data-text="getHintText">getHintText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getHintText ()</pre>
    
    

    
  <p>Gets the hint text of this node. Only applies to nodes where text can be entered.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The hint text.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="getInputType()" data-text="getInputType">getInputType</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getInputType ()</pre>
    
    

    
  <p>Gets the input type of the source as defined by <code translate="no" dir="ltr"><a href="/reference/android/text/InputType">InputType</a></code>.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The input type.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="17">
    <h3 class="api-name" id="getLabelFor()" data-text="getLabelFor">getLabelFor</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 17</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getLabelFor ()</pre>
    
    

    
  <p>Gets the node info for which the view represented by this info serves as
 a label for accessibility purposes.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The labeled info.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="17">
    <h3 class="api-name" id="getLabeledBy()" data-text="getLabeledBy">getLabeledBy</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 17</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getLabeledBy ()</pre>
    
    

    
  <p>Gets the node info which serves as the label of the view represented by
 this info for accessibility purposes.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The label.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="getLiveRegion()" data-text="getLiveRegion">getLiveRegion</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getLiveRegion ()</pre>
    
    

    
  <p>Gets the node's live region mode.
 <p>
 A live region is a node that contains information that is important for
 the user and when it changes the user should be notified. For example,
 a Snackbar that displays a confirmation notification should be marked
 as a live region with mode
 <code translate="no" dir="ltr"><a href="/reference/android/view/View#ACCESSIBILITY_LIVE_REGION_POLITE">View#ACCESSIBILITY_LIVE_REGION_POLITE</a></code>.
 <p>
 It is the responsibility of the accessibility service to monitor
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED">AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED</a></code> events indicating
 changes to live region nodes and their children.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The live region mode, or
         <code translate="no" dir="ltr"><a href="/reference/android/view/View#ACCESSIBILITY_LIVE_REGION_NONE">View#ACCESSIBILITY_LIVE_REGION_NONE</a></code> if the view is not a
         live region.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/View#getAccessibilityLiveRegion()">View.getAccessibilityLiveRegion()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="21">
    <h3 class="api-name" id="getMaxTextLength()" data-text="getMaxTextLength">getMaxTextLength</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getMaxTextLength ()</pre>
    
    

    
  <p>Returns the maximum text length for this node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The maximum text length, or -1 for no limit.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setMaxTextLength(int)">setMaxTextLength(int)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="getMinDurationBetweenContentChanges()" data-text="getMinDurationBetweenContentChanges">getMinDurationBetweenContentChanges</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/time/Duration">Duration</a> getMinDurationBetweenContentChanges ()</pre>
    
    

    
  <p>Gets the minimum time duration between two content change events.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/time/Duration">Duration</a></code></td>
        <td width="100%">This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="getMovementGranularities()" data-text="getMovementGranularities">getMovementGranularities</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getMovementGranularities ()</pre>
    
    

    
  <p>Gets the movement granularities for traversing the text of this node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The bit mask with granularities.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getPackageName()" data-text="getPackageName">getPackageName</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getPackageName ()</pre>
    
    

    
  <p>Gets the package this node comes from.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The package name.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="28">
    <h3 class="api-name" id="getPaneTitle()" data-text="getPaneTitle">getPaneTitle</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getPaneTitle ()</pre>
    
    

    
  <p>Get the title of the pane represented by this node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The title of the pane represented by this node, or <code translate="no" dir="ltr">null</code> if this node does
         not represent a pane.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getParent()" data-text="getParent">getParent</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getParent ()</pre>
    
    

    
  <p>Gets the parent.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The parent.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called outside of an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code> and before
                               calling <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setQueryFromAppProcessEnabled(android.view.View,%20boolean)">setQueryFromAppProcessEnabled(View, boolean)</a></code>.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="33">
    <h3 class="api-name" id="getParent(int)" data-text="getParent">getParent</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getParent (int prefetchingStrategy)</pre>
    
    

    
  <p>Gets the parent.

 <p>
 Use <code translate="no" dir="ltr">prefetchingStrategy</code> to determine the types of
 nodes prefetched from the app if the requested node is not in the cache and must be retrieved
 by the app. The default strategy for <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent()">getParent()</a></code> is a combination of ancestor and
 sibling strategies. The app will prefetch until all nodes fulfilling the strategies are
 fetched, another node request is sent, or the maximum prefetch batch size of
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#MAX_NUMBER_OF_PREFETCHED_NODES">MAX_NUMBER_OF_PREFETCHED_NODES</a></code> nodes is reached. To prevent interruption by another
 request and to force prefetching of the max batch size, use
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_UNINTERRUPTIBLE">AccessibilityNodeInfo#FLAG_PREFETCH_UNINTERRUPTIBLE</a></code>.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">prefetchingStrategy</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: the prefetching strategy.
 Value is either <code translate="no" dir="ltr">0</code> or a combination of <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">FLAG_PREFETCH_ANCESTORS</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_SIBLINGS">FLAG_PREFETCH_SIBLINGS</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_HYBRID">FLAG_PREFETCH_DESCENDANTS_HYBRID</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST">FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST">FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</a></code>, and <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_UNINTERRUPTIBLE">FLAG_PREFETCH_UNINTERRUPTIBLE</a></code></p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The parent.

 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called outside of an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code> and before
                               calling <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setQueryFromAppProcessEnabled(android.view.View,%20boolean)">setQueryFromAppProcessEnabled(View, boolean)</a></code>.</td>
        </tr>
      </table>
  
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_ANCESTORS">FLAG_PREFETCH_ANCESTORS</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST">FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST">FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_DESCENDANTS_HYBRID">FLAG_PREFETCH_DESCENDANTS_HYBRID</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_SIBLINGS">FLAG_PREFETCH_SIBLINGS</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#FLAG_PREFETCH_UNINTERRUPTIBLE">FLAG_PREFETCH_UNINTERRUPTIBLE</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="getRangeInfo()" data-text="getRangeInfo">getRangeInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.RangeInfo">AccessibilityNodeInfo.RangeInfo</a> getRangeInfo ()</pre>
    
    

    
  <p>Gets the range info if this node is a range.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.RangeInfo">AccessibilityNodeInfo.RangeInfo</a></code></td>
        <td width="100%">The range.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="30">
    <h3 class="api-name" id="getStateDescription()" data-text="getStateDescription">getStateDescription</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getStateDescription ()</pre>
    
    

    
  <p>Get the state description of this node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">the state description
 
 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getText()" data-text="getText">getText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getText ()</pre>
    
    

    
  <p>Gets the text of this node.
 <p>
   <strong>Note:</strong> If the text contains <code translate="no" dir="ltr"><a href="/reference/android/text/style/ClickableSpan">ClickableSpan</a></code>s or <code translate="no" dir="ltr"><a href="/reference/android/text/style/URLSpan">URLSpan</a></code>s,
   these spans will have been replaced with ones whose <code translate="no" dir="ltr"><a href="/reference/android/text/style/ClickableSpan#onClick(android.view.View)">ClickableSpan#onClick(View)</a></code>
   can be called from an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>. When called from a service, the
   <code translate="no" dir="ltr"><a href="/reference/android/view/View">View</a></code> argument is ignored and the corresponding span will be found on the view that
   this <code translate="no" dir="ltr">AccessibilityNodeInfo</code> represents and called with that view as its argument.
   <p>
   This treatment of <code translate="no" dir="ltr"><a href="/reference/android/text/style/ClickableSpan">ClickableSpan</a></code>s means that the text returned from this method may
   different slightly one passed to <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setText(java.lang.CharSequence)">setText(java.lang.CharSequence)</a></code>, although they will be
   equivalent according to <code translate="no" dir="ltr"><a href="/reference/android/text/TextUtils#equals(java.lang.CharSequence,%20java.lang.CharSequence)">TextUtils#equals(CharSequence, CharSequence)</a></code>. The
   <code translate="no" dir="ltr"><a href="/reference/android/text/style/ClickableSpan#onClick(android.view.View)">ClickableSpan#onClick(View)</a></code> of any spans, however, will generally not work outside
   of an accessibility service.
 </p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The text.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="18">
    <h3 class="api-name" id="getTextSelectionEnd()" data-text="getTextSelectionEnd">getTextSelectionEnd</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getTextSelectionEnd ()</pre>
    
    

    
  <p>Gets the text selection end if text is selected.
 <p>
 If no text is selected, both this method and
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTextSelectionStart()">AccessibilityNodeInfo#getTextSelectionStart()</a></code> return the same value:
 the current location of the cursor.
 </p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The text selection end, the cursor location if there is no selection, or -1 if
         there is no text selection and no cursor.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="18">
    <h3 class="api-name" id="getTextSelectionStart()" data-text="getTextSelectionStart">getTextSelectionStart</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getTextSelectionStart ()</pre>
    
    

    
  <p>Gets the text selection start or the cursor position.
 <p>
 If no text is selected, both this method and
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTextSelectionEnd()">AccessibilityNodeInfo#getTextSelectionEnd()</a></code> return the same value:
 the current location of the cursor.
 </p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The text selection start, the cursor location if there is no selection, or -1 if
         there is no text selection and no cursor.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="28">
    <h3 class="api-name" id="getTooltipText()" data-text="getTooltipText">getTooltipText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/CharSequence">CharSequence</a> getTooltipText ()</pre>
    
    

    
  <p>Gets the tooltip text of this node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/CharSequence">CharSequence</a></code></td>
        <td width="100%">The tooltip text.
 
 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="29">
    <h3 class="api-name" id="getTouchDelegateInfo()" data-text="getTouchDelegateInfo">getTouchDelegateInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 29</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">AccessibilityNodeInfo.TouchDelegateInfo</a> getTouchDelegateInfo ()</pre>
    
    

    
  <p>Get the <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">TouchDelegateInfo</a></code> for touch delegate behavior with the represented view.
 It is possible for the same node to be pointed to by several regions. Use
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo#getRegionAt(int)">TouchDelegateInfo#getRegionAt(int)</a></code> to get touch delegate target <code translate="no" dir="ltr"><a href="/reference/android/graphics/Region">Region</a></code>, and
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo#getTargetForRegion(android.graphics.Region)">TouchDelegateInfo#getTargetForRegion(Region)</a></code> for <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> from
 the given region.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">AccessibilityNodeInfo.TouchDelegateInfo</a></code></td>
        <td width="100%"><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">TouchDelegateInfo</a></code> or <code translate="no" dir="ltr">null</code> if there are no touch delegates.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="22">
    <h3 class="api-name" id="getTraversalAfter()" data-text="getTraversalAfter">getTraversalAfter</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 22</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getTraversalAfter ()</pre>
    
    

    
  <p>Gets the node after which this one is visited in accessibility traversal.
 A screen-reader must visit the content of the other node before the content
 of this one.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The succeeding node if such or <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalAfter(android.view.View)">setTraversalAfter(android.view.View)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalAfter(android.view.View,%20int)">setTraversalAfter(android.view.View, int)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="22">
    <h3 class="api-name" id="getTraversalBefore()" data-text="getTraversalBefore">getTraversalBefore</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 22</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> getTraversalBefore ()</pre>
    
    

    
  <p>Gets the node before which this one is visited during traversal. A screen-reader
 must visit the content of this node before the content of the one it precedes.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">The succeeding node if such or <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalBefore(android.view.View)">setTraversalBefore(android.view.View)</a></code></li><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setTraversalBefore(android.view.View,%20int)">setTraversalBefore(android.view.View, int)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="33">
    <h3 class="api-name" id="getUniqueId()" data-text="getUniqueId">getUniqueId</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/String">String</a> getUniqueId ()</pre>
    
    

    
  <p>Gets the unique id of the node.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">The unique id
 
 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="18">
    <h3 class="api-name" id="getViewIdResourceName()" data-text="getViewIdResourceName">getViewIdResourceName</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/String">String</a> getViewIdResourceName ()</pre>
    
    

    
  <p>Gets the fully qualified resource name of the source view's id.

 <p>
   <strong>Note:</strong> The primary usage of this API is for UI test automation
   and in order to report the source view id of an <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> the
   client has to set the <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS">AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS</a></code>
   flag when configuring the <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 </p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">The id resource name.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="21">
    <h3 class="api-name" id="getWindow()" data-text="getWindow">getWindow</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/android/view/accessibility/AccessibilityWindowInfo">AccessibilityWindowInfo</a> getWindow ()</pre>
    
    

    
  <p>Gets the window to which this node belongs.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityWindowInfo">AccessibilityWindowInfo</a></code></td>
        <td width="100%">The window.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService#getWindows()">AccessibilityService.getWindows()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="getWindowId()" data-text="getWindowId">getWindowId</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int getWindowId ()</pre>
    
    

    
  <p>Gets the id of the window from which the info comes from.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">The window id.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="hasRequestInitialAccessibilityFocus()" data-text="hasRequestInitialAccessibilityFocus">hasRequestInitialAccessibilityFocus</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean hasRequestInitialAccessibilityFocus ()</pre>
    
    

    
  <p>Gets whether the node has <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setRequestInitialAccessibilityFocus(boolean)">setRequestInitialAccessibilityFocus(boolean)</a></code>.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node has requested initial accessibility focus.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="hashCode()" data-text="hashCode">hashCode</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public int hashCode ()</pre>
    
    

    
  <p>Returns a hash code value for the object. This method is
 supported for the benefit of hash tables such as those provided by
 <code translate="no" dir="ltr"><a href="/reference/java/util/HashMap">HashMap</a></code>.
 <p>
 The general contract of <code translate="no" dir="ltr">hashCode</code> is:
 <ul>
 <li>Whenever it is invoked on the same object more than once during
     an execution of a Java application, the <code translate="no" dir="ltr">hashCode</code> method
     must consistently return the same integer, provided no information
     used in <code translate="no" dir="ltr">equals</code> comparisons on the object is modified.
     This integer need not remain consistent from one execution of an
     application to another execution of the same application.
 <li>If two objects are equal according to the <code translate="no" dir="ltr">equals(Object)</code>
     method, then calling the <code translate="no" dir="ltr">hashCode</code> method on each of
     the two objects must produce the same integer result.
 <li>It is <em>not</em> required that if two objects are unequal
     according to the <code translate="no" dir="ltr"><a href="/reference/java/lang/Object#equals(java.lang.Object)">equals(java.lang.Object)</a></code>
     method, then calling the <code translate="no" dir="ltr">hashCode</code> method on each of the
     two objects must produce distinct integer results.  However, the
     programmer should be aware that producing distinct integer results
     for unequal objects may improve the performance of hash tables.
 </ul>
 <p>
 As much as is reasonably practical, the hashCode method defined
 by class <code translate="no" dir="ltr">Object</code> does return distinct integers for
 distinct objects. (The hashCode may or may not be implemented
 as some function of an object's memory address at some point
 in time.)</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">int</code></td>
        <td width="100%">a hash code value for this object.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="isAccessibilityDataSensitive()" data-text="isAccessibilityDataSensitive">isAccessibilityDataSensitive</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isAccessibilityDataSensitive ()</pre>
    
    

    
  <p>Gets if the node's accessibility data is considered sensitive.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node's data is considered sensitive, false otherwise.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/View#isAccessibilityDataSensitive()">View.isAccessibilityDataSensitive()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="isAccessibilityFocused()" data-text="isAccessibilityFocused">isAccessibilityFocused</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isAccessibilityFocused ()</pre>
    
    

    
  <p>Gets whether this node is accessibility focused.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is accessibility focused.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isCheckable()" data-text="isCheckable">isCheckable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isCheckable ()</pre>
    
    

    
  <p>Gets whether this node is checkable.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is checkable.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isChecked()" data-text="isChecked">isChecked</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isChecked ()</pre>
    
    

    
  <p>Gets whether this node is checked.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is checked.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isClickable()" data-text="isClickable">isClickable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isClickable ()</pre>
    
    

    
  <p>Gets whether this node is clickable.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is clickable.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="isContentInvalid()" data-text="isContentInvalid">isContentInvalid</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isContentInvalid ()</pre>
    
    

    
  <p>Gets if the content of this node is invalid. For example,
 a date is not well-formed.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">If the node content is invalid.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="23">
    <h3 class="api-name" id="isContextClickable()" data-text="isContextClickable">isContextClickable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 23</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isContextClickable ()</pre>
    
    

    
  <p>Gets whether this node is context clickable.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is context clickable.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="isDismissable()" data-text="isDismissable">isDismissable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isDismissable ()</pre>
    
    

    
  <p>Gets if the node can be dismissed.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">If the node can be dismissed.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="18">
    <h3 class="api-name" id="isEditable()" data-text="isEditable">isEditable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isEditable ()</pre>
    
    

    
  <p>Gets if the node is editable.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is editable, false otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isEnabled()" data-text="isEnabled">isEnabled</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isEnabled ()</pre>
    
    

    
  <p>Gets whether this node is enabled.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is enabled.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isFocusable()" data-text="isFocusable">isFocusable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isFocusable ()</pre>
    
    

    
  <p>Gets whether this node is focusable.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is focusable.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isFocused()" data-text="isFocused">isFocused</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isFocused ()</pre>
    
    

    
  <p>Gets whether this node is focused.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is focused.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="28">
    <h3 class="api-name" id="isHeading()" data-text="isHeading">isHeading</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isHeading ()</pre>
    
    

    
  <p>Returns whether node represents a heading.
 <p><strong>Note:</strong> Returns <code translate="no" dir="ltr">true</code> if either <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setHeading(boolean)">setHeading(boolean)</a></code>
 marks this node as a heading or if the node has a <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo">CollectionItemInfo</a></code> that marks
 it as such, to accomodate apps that use the now-deprecated API.</p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if the node is a heading, <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="24">
    <h3 class="api-name" id="isImportantForAccessibility()" data-text="isImportantForAccessibility">isImportantForAccessibility</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 24</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isImportantForAccessibility ()</pre>
    
    

    
  <p>Returns whether the node originates from a view considered important for accessibility.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if the node originates from a view considered important for
         accessibility, <code translate="no" dir="ltr">false</code> otherwise</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/View#isImportantForAccessibility()">View.isImportantForAccessibility()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isLongClickable()" data-text="isLongClickable">isLongClickable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isLongClickable ()</pre>
    
    

    
  <p>Gets whether this node is long clickable.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is long clickable.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="isMultiLine()" data-text="isMultiLine">isMultiLine</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isMultiLine ()</pre>
    
    

    
  <p>Gets if the node is a multi line editable text.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is multi line.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isPassword()" data-text="isPassword">isPassword</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isPassword ()</pre>
    
    

    
  <p>Gets whether this node is a password.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is a password.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="28">
    <h3 class="api-name" id="isScreenReaderFocusable()" data-text="isScreenReaderFocusable">isScreenReaderFocusable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isScreenReaderFocusable ()</pre>
    
    

    
  <p>Returns whether the node is explicitly marked as a focusable unit by a screen reader. Note
 that <code translate="no" dir="ltr">false</code> indicates that it is not explicitly marked, not that the node is not
 a focusable unit. Screen readers should generally use other signals, such as
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isFocusable()">isFocusable()</a></code>, or the presence of text in a node, to determine what should receive
 focus.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if the node is specifically marked as a focusable unit for screen
         readers, <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/View#isScreenReaderFocusable()">View.isScreenReaderFocusable()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isScrollable()" data-text="isScrollable">isScrollable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isScrollable ()</pre>
    
    

    
  <p>Gets if the node is scrollable.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is scrollable, false otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="isSelected()" data-text="isSelected">isSelected</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isSelected ()</pre>
    
    

    
  <p>Gets whether this node is selected.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node is selected.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="26">
    <h3 class="api-name" id="isShowingHintText()" data-text="isShowingHintText">isShowingHintText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isShowingHintText ()</pre>
    
    

    
  <p>Returns whether the node's text represents a hint for the user to enter text. It should only
 be <code translate="no" dir="ltr">true</code> if the node has editable text.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if the text in the node represents a hint to the user, <code translate="no" dir="ltr">false</code>
 otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="29">
    <h3 class="api-name" id="isTextEntryKey()" data-text="isTextEntryKey">isTextEntryKey</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 29</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isTextEntryKey ()</pre>
    
    

    
  <p>Returns whether node represents a text entry key that is part of a keyboard or keypad.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if the node is a text entry key., <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="33">
    <h3 class="api-name" id="isTextSelectable()" data-text="isTextSelectable">isTextSelectable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isTextSelectable ()</pre>
    
    

    
  <p>Gets if the node has selectable text.

 <p>
     Services should use <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_SET_SELECTION">ACTION_SET_SELECTION</a></code> for selection. Editable text nodes must
     also be selectable. But not all UIs will populate this field, so services should consider
     'isTextSelectable | isEditable' to ensure they don't miss nodes with selectable text.
 </p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the node has selectable text.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isEditable()">isEditable()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="isVisibleToUser()" data-text="isVisibleToUser">isVisibleToUser</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean isVisibleToUser ()</pre>
    
    

    
  <p>Gets whether this node is visible to the user.
 <p>
 Between <code translate="no" dir="ltr"><a href="/reference/android/os/Build.VERSION_CODES#JELLY_BEAN">API 16</a></code> and
 <code translate="no" dir="ltr"><a href="/reference/android/os/Build.VERSION_CODES#Q">API 29</a></code>, this method may incorrectly return false when
 magnification is enabled. On other versions, a node is considered visible even if it is not
 on the screen because magnification is active.
 </p></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">Whether the node is visible to the user.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="16" data-version-deprecated="33">
    <h3 class="api-name" id="obtain(android.view.View,%20int)" data-text="obtain">obtain</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> obtain (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 33.</strong><br/>
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.View,%20int)">AccessibilityNodeInfo(android.view.View, int)</a></code> instead.
  </p>
  <p>Returns a cached instance if such is available otherwise a new one
 and sets the source.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">An instance.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setSource(android.view.View,%20int)">setSource(View, int)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14" data-version-deprecated="33">
    <h3 class="api-name" id="obtain(android.view.accessibility.AccessibilityNodeInfo)" data-text="obtain">obtain</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> obtain (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> info)</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 33.</strong><br/>
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)">AccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)</a></code> instead.
  </p>
  <p>Instantiates a new AccessibilityNodeInfo initialized from the given
 <code translate="no" dir="ltr">info</code>.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">info</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo</code>: The other info.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">An instance.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14" data-version-deprecated="33">
    <h3 class="api-name" id="obtain()" data-text="obtain">obtain</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> obtain ()</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 33.</strong><br/>
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo()">AccessibilityNodeInfo()</a></code> instead.
  </p>
  <p>Instantiates a new AccessibilityNodeInfo.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">An instance.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14" data-version-deprecated="33">
    <h3 class="api-name" id="obtain(android.view.View)" data-text="obtain">obtain</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public static <a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a> obtain (<a href="/reference/android/view/View">View</a> source)</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 33.</strong><br/>
    Object pooling has been discontinued. Create a new instance using the
 constructor <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#AccessibilityNodeInfo(android.view.View)">AccessibilityNodeInfo(android.view.View)</a></code> instead.
  </p>
  <p>Returns a cached instance if such is available otherwise a new one
 and sets the source.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">source</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The source view.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code></td>
        <td width="100%">An instance.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setSource(android.view.View)">setSource(View)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="performAction(int,%20android.os.Bundle)" data-text="performAction">performAction</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean performAction (int action, 
                <a href="/reference/android/os/Bundle">Bundle</a> arguments)</pre>
    
    

    
  <p>Performs an action on the node.
 <p>
   <strong>Note:</strong> An action can be performed only if the request is made
   from an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">action</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The action to perform.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">arguments</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Bundle</code>: A bundle with additional arguments.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the action was performed.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called outside of an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="performAction(int)" data-text="performAction">performAction</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean performAction (int action)</pre>
    
    

    
  <p>Performs an action on the node.
 <p>
   <strong>Note:</strong> An action can be performed only if the request is made
   from an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">action</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The action to perform.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">True if the action was performed.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called outside of an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14" data-version-deprecated="33">
    <h3 class="api-name" id="recycle()" data-text="recycle">recycle</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void recycle ()</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 33.</strong><br/>
    Object pooling has been discontinued. Calling this function now will have
 no effect.
  </p>
  <p>Would previously return an instance back to be reused.</p></p>

</div>

<div data-version-added="18">
    <h3 class="api-name" id="refresh()" data-text="refresh">refresh</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean refresh ()</pre>
    
    

    
  <p>Refreshes this info with the latest state of the view it represents.</p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if the refresh succeeded. <code translate="no" dir="ltr">false</code> if the <code translate="no" dir="ltr"><a href="/reference/android/view/View">View</a></code> represented
 by this node is no longer in the view tree (and thus this node is obsolete).</p></td>
      </tr>
    </table>

</div>

<div data-version-added="26">
    <h3 class="api-name" id="refreshWithExtraData(java.lang.String,%20android.os.Bundle)" data-text="refreshWithExtraData">refreshWithExtraData</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean refreshWithExtraData (<a href="/reference/java/lang/String">String</a> extraDataKey, 
                <a href="/reference/android/os/Bundle">Bundle</a> args)</pre>
    
    

    
  <p>Refreshes this info with the latest state of the view it represents, and request new
 data be added by the View.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">extraDataKey</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">String</code>: The extra data requested. Data that must be requested
                     with this mechanism is generally expensive to retrieve, so should only be
                     requested when needed. See
                     <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_RENDERING_INFO_KEY">EXTRA_DATA_RENDERING_INFO_KEY</a></code>,
                     <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY">EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY</a></code>,
                     <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getAvailableExtraData()">getAvailableExtraData()</a></code> and <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getExtraRenderingInfo()">getExtraRenderingInfo()</a></code>.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">args</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Bundle</code>: A bundle of arguments for the request. These depend on the particular request.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%"><code translate="no" dir="ltr">true</code> if the refresh succeeded. <code translate="no" dir="ltr">false</code> if the <code translate="no" dir="ltr"><a href="/reference/android/view/View">View</a></code> represented
 by this node is no longer in the view tree (and thus this node is obsolete).</p></td>
      </tr>
    </table>

</div>

<div data-version-added="21">
    <h3 class="api-name" id="removeAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)" data-text="removeAction">removeAction</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean removeAction (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction">AccessibilityNodeInfo.AccessibilityAction</a> action)</pre>
    
    

    
  <p>Removes an action that can be performed on the node. If the action was
 not already added to the node, calling this method has no effect.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">action</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo.AccessibilityAction</code>: The action to be removed.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">The action removed from the list of actions.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="21" data-version-deprecated="21">
    <h3 class="api-name" id="removeAction(int)" data-text="removeAction">removeAction</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void removeAction (int action)</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 21.</strong><br/>
    Use <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#removeAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)">removeAction(android.view.accessibility.AccessibilityNodeInfo.AccessibilityAction)</a></code>
  </p>
  <p>Removes an action that can be performed on the node. If the action was
 not already added to the node, calling this method has no effect.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">action</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The action to be removed.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="21">
    <h3 class="api-name" id="removeChild(android.view.View,%20int)" data-text="removeChild">removeChild</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean removeChild (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Removes a virtual child which is a descendant of the given
 <code translate="no" dir="ltr">root</code>. If the child was not previously added to the node,
 calling this method has no effect.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual child.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">true if the child was present</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#addChild(android.view.View,%20int)">addChild(View, int)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="21">
    <h3 class="api-name" id="removeChild(android.view.View)" data-text="removeChild">removeChild</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public boolean removeChild (<a href="/reference/android/view/View">View</a> child)</pre>
    
    

    
  <p>Removes a child. If the child was not previously added to the node,
 calling this method has no effect.
 <p>
 <strong>Note:</strong> Cannot be called from an
 <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">child</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The child.</p></td>
      </tr>
    </table>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">boolean</code></td>
        <td width="100%">true if the child was present</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="34">
    <h3 class="api-name" id="setAccessibilityDataSensitive(boolean)" data-text="setAccessibilityDataSensitive">setAccessibilityDataSensitive</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setAccessibilityDataSensitive (boolean accessibilityDataSensitive)</pre>
    
    

    
  <p>Sets whether this node's accessibility data is considered sensitive.

 <p>
 <strong>Note:</strong> Cannot be called from an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">accessibilityDataSensitive</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node's accessibility data is considered
                                   sensitive.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/View#setAccessibilityDataSensitive(int)">View.setAccessibilityDataSensitive(int)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="setAccessibilityFocused(boolean)" data-text="setAccessibilityFocused">setAccessibilityFocused</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setAccessibilityFocused (boolean focused)</pre>
    
    

    
  <p>Sets whether this node is accessibility focused.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">focused</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is accessibility focused.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="26">
    <h3 class="api-name" id="setAvailableExtraData(java.util.List&lt;java.lang.String&gt;)" data-text="setAvailableExtraData">setAvailableExtraData</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setAvailableExtraData (<a href="/reference/java/util/List">List</a>&lt;<a href="/reference/java/lang/String">String</a>&gt; extraDataKeys)</pre>
    
    

    
  <p>Set the extra data available for this node.
 <p>
 <strong>Note:</strong> When a <code translate="no" dir="ltr">View</code> passes in a non-empty list, it promises that
 it will populate the node's extras with corresponding pieces of information in
 <code translate="no" dir="ltr"><a href="/reference/android/view/View#addExtraDataToAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo,%20java.lang.String,%20android.os.Bundle)">View#addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo, String, Bundle)</a></code>.
 <p>
 <strong>Note:</strong> Cannot be called from an
 <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 This class is made immutable before being delivered to an AccessibilityService.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">extraDataKeys</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">List</code>: A list of types of extra data that are available.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getAvailableExtraData()">getAvailableExtraData()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14" data-version-deprecated="29">
    <h3 class="api-name" id="setBoundsInParent(android.graphics.Rect)" data-text="setBoundsInParent">setBoundsInParent</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  <br>Deprecated in
    <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level
      29</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setBoundsInParent (<a href="/reference/android/graphics/Rect">Rect</a> bounds)</pre>
    
    

    <p>
  <p class="caution"><strong>
      This method was deprecated
      in API level 29.</strong><br/>
    Accessibility services should not care about these bounds.
  </p>
  <p>Sets the node bounds in the viewParent's coordinates.
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent()">getParent()</a></code> does not represent the source's viewParent.
 Instead it represents the result of <code translate="no" dir="ltr"><a href="/reference/android/view/View#getParentForAccessibility()">View#getParentForAccessibility()</a></code>,
 which returns the closest ancestor where <code translate="no" dir="ltr"><a href="/reference/android/view/View#isImportantForAccessibility()">View#isImportantForAccessibility()</a></code> is true.
 So this method is not reliable.

 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">bounds</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Rect</code>: The node bounds.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setBoundsInScreen(android.graphics.Rect)" data-text="setBoundsInScreen">setBoundsInScreen</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setBoundsInScreen (<a href="/reference/android/graphics/Rect">Rect</a> bounds)</pre>
    
    

    
  <p>Sets the node bounds in screen coordinates.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">bounds</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Rect</code>: The node bounds.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="34">
    <h3 class="api-name" id="setBoundsInWindow(android.graphics.Rect)" data-text="setBoundsInWindow">setBoundsInWindow</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setBoundsInWindow (<a href="/reference/android/graphics/Rect">Rect</a> bounds)</pre>
    
    

    
  <p>Sets the node bounds in window coordinates.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">bounds</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Rect</code>: The node bounds.

 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setCanOpenPopup(boolean)" data-text="setCanOpenPopup">setCanOpenPopup</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setCanOpenPopup (boolean opensPopup)</pre>
    
    

    
  <p>Sets if this node opens a popup or a dialog.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">opensPopup</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: If the the node opens a popup.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setCheckable(boolean)" data-text="setCheckable">setCheckable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setCheckable (boolean checkable)</pre>
    
    

    
  <p>Sets whether this node is checkable.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">checkable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is checkable.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setChecked(boolean)" data-text="setChecked">setChecked</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setChecked (boolean checked)</pre>
    
    

    
  <p>Sets whether this node is checked.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">checked</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is checked.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setClassName(java.lang.CharSequence)" data-text="setClassName">setClassName</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setClassName (<a href="/reference/java/lang/CharSequence">CharSequence</a> className)</pre>
    
    

    
  <p>Sets the class this node comes from.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">className</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The class name.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setClickable(boolean)" data-text="setClickable">setClickable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setClickable (boolean clickable)</pre>
    
    

    
  <p>Sets whether this node is clickable.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">clickable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is clickable.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setCollectionInfo(android.view.accessibility.AccessibilityNodeInfo.CollectionInfo)" data-text="setCollectionInfo">setCollectionInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setCollectionInfo (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionInfo">AccessibilityNodeInfo.CollectionInfo</a> collectionInfo)</pre>
    
    

    
  <p>Sets the collection info if the node is a collection. A collection
 child is always a collection item.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">collectionInfo</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo.CollectionInfo</code>: The collection info.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setCollectionItemInfo(android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo)" data-text="setCollectionItemInfo">setCollectionItemInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setCollectionItemInfo (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo">AccessibilityNodeInfo.CollectionItemInfo</a> collectionItemInfo)</pre>
    
    

    
  <p>Sets the collection item info if the node is a collection item. A collection
 item is always a child of a collection.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">collectionItemInfo</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo.CollectionItemInfo</code> <!-- no parameter comment --></p></td>
      </tr>
    </table>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="setContainerTitle(java.lang.CharSequence)" data-text="setContainerTitle">setContainerTitle</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setContainerTitle (<a href="/reference/java/lang/CharSequence">CharSequence</a> containerTitle)</pre>
    
    

    
  <p>Sets the container title for app-developer-defined container which can be any type of
 ViewGroup or layout.
 Container title will be used to group together related controls, similar to HTML fieldset.
 Or container title may identify a large piece of the UI that is visibly grouped together,
 such as a toolbar or a card, etc.
 <p>
 Container title helps to assist in navigation across containers and other groups.
 For example, a screen reader may use this to determine where to put accessibility focus.
 </p>
 <p>
 Container title is different from pane title<code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#setPaneTitle(java.lang.CharSequence)">setPaneTitle(CharSequence)</a></code> which indicates that the
 node represents a window or activity.
 </p>

 <p>
  Example: An app can set container titles on several non-modal menus, containing TextViews
  or ImageButtons that have content descriptions, text, etc. Screen readers can quickly
  switch accessibility focus among menus instead of child views.  Other accessibility-services
  can easily find the menu.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">containerTitle</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The container title that is associated with a ViewGroup/Layout on the
                       screen.
 
 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setContentDescription(java.lang.CharSequence)" data-text="setContentDescription">setContentDescription</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setContentDescription (<a href="/reference/java/lang/CharSequence">CharSequence</a> contentDescription)</pre>
    
    

    
  <p>Sets the content description of this node.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">contentDescription</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The content description.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setContentInvalid(boolean)" data-text="setContentInvalid">setContentInvalid</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setContentInvalid (boolean contentInvalid)</pre>
    
    

    
  <p>Sets if the content of this node is invalid. For example,
 a date is not well-formed.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">contentInvalid</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: If the node content is invalid.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="23">
    <h3 class="api-name" id="setContextClickable(boolean)" data-text="setContextClickable">setContextClickable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 23</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setContextClickable (boolean contextClickable)</pre>
    
    

    
  <p>Sets whether this node is context clickable.
 <p>
 <strong>Note:</strong> Cannot be called from an
 <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>. This class is made immutable
 before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">contextClickable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is context clickable.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setDismissable(boolean)" data-text="setDismissable">setDismissable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setDismissable (boolean dismissable)</pre>
    
    

    
  <p>Sets if the node can be dismissed.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">dismissable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: If the node can be dismissed.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="24">
    <h3 class="api-name" id="setDrawingOrder(int)" data-text="setDrawingOrder">setDrawingOrder</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 24</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setDrawingOrder (int drawingOrderInParent)</pre>
    
    

    
  <p>Set the drawing order of the view corresponding it this node.

 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="18">
    <h3 class="api-name" id="setEditable(boolean)" data-text="setEditable">setEditable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setEditable (boolean editable)</pre>
    
    

    
  <p>Sets whether this node is editable.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">editable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is editable.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setEnabled(boolean)" data-text="setEnabled">setEnabled</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setEnabled (boolean enabled)</pre>
    
    

    
  <p>Sets whether this node is enabled.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">enabled</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is enabled.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="21">
    <h3 class="api-name" id="setError(java.lang.CharSequence)" data-text="setError">setError</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setError (<a href="/reference/java/lang/CharSequence">CharSequence</a> error)</pre>
    
    

    
  <p>Sets the error text of this node.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">error</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The error text.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setFocusable(boolean)" data-text="setFocusable">setFocusable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setFocusable (boolean focusable)</pre>
    
    

    
  <p>Sets whether this node is focusable.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">focusable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is focusable.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setFocused(boolean)" data-text="setFocused">setFocused</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setFocused (boolean focused)</pre>
    
    

    
  <p>Sets whether this node is focused.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">focused</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is focused.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="28">
    <h3 class="api-name" id="setHeading(boolean)" data-text="setHeading">setHeading</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setHeading (boolean isHeading)</pre>
    
    

    
  <p>Sets whether the node represents a heading.

 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">isHeading</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: <code translate="no" dir="ltr">true</code> if the node is a heading, <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="26">
    <h3 class="api-name" id="setHintText(java.lang.CharSequence)" data-text="setHintText">setHintText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setHintText (<a href="/reference/java/lang/CharSequence">CharSequence</a> hintText)</pre>
    
    

    
  <p>Sets the hint text of this node. Only applies to nodes where text can be entered.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">hintText</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The hint text for this mode.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="24">
    <h3 class="api-name" id="setImportantForAccessibility(boolean)" data-text="setImportantForAccessibility">setImportantForAccessibility</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 24</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setImportantForAccessibility (boolean important)</pre>
    
    

    
  <p>Sets whether the node is considered important for accessibility.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">important</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: <code translate="no" dir="ltr">true</code> if the node is considered important for accessibility,
                  <code translate="no" dir="ltr">false</code> otherwise</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setInputType(int)" data-text="setInputType">setInputType</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setInputType (int inputType)</pre>
    
    

    
  <p>Sets the input type of the source as defined by <code translate="no" dir="ltr"><a href="/reference/android/text/InputType">InputType</a></code>.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an
   AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">inputType</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The input type.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="17">
    <h3 class="api-name" id="setLabelFor(android.view.View,%20int)" data-text="setLabelFor">setLabelFor</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 17</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setLabelFor (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Sets the view for which the view represented by this info serves as a
 label for accessibility purposes. If <code translate="no" dir="ltr">virtualDescendantId</code>
 is <code translate="no" dir="ltr"><a href="/reference/android/view/View#NO_ID">View#NO_ID</a></code> the root is set as the labeled.
 <p>
 A virtual descendant is an imaginary View that is reported as a part of the view
 hierarchy for accessibility purposes. This enables custom views that draw complex
 content to report themselves as a tree of virtual views, thus conveying their
 logical structure.
 </p>
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root whose virtual descendant serves as a label.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="17">
    <h3 class="api-name" id="setLabelFor(android.view.View)" data-text="setLabelFor">setLabelFor</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 17</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setLabelFor (<a href="/reference/android/view/View">View</a> labeled)</pre>
    
    

    
  <p>Sets the view for which the view represented by this info serves as a
 label for accessibility purposes.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">labeled</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The view for which this info serves as a label.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="17">
    <h3 class="api-name" id="setLabeledBy(android.view.View)" data-text="setLabeledBy">setLabeledBy</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 17</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setLabeledBy (<a href="/reference/android/view/View">View</a> label)</pre>
    
    

    
  <p>Sets the view which serves as the label of the view represented by
 this info for accessibility purposes.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">label</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The view that labels this node's source.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="17">
    <h3 class="api-name" id="setLabeledBy(android.view.View,%20int)" data-text="setLabeledBy">setLabeledBy</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 17</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setLabeledBy (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Sets the view which serves as the label of the view represented by
 this info for accessibility purposes. If <code translate="no" dir="ltr">virtualDescendantId</code>
 is <code translate="no" dir="ltr"><a href="/reference/android/view/View#NO_ID">View#NO_ID</a></code> the root is set as the label.
 <p>
 A virtual descendant is an imaginary View that is reported as a part of the view
 hierarchy for accessibility purposes. This enables custom views that draw complex
 content to report themselves as a tree of virtual views, thus conveying their
 logical structure.
 </p>
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root whose virtual descendant labels this node's source.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setLiveRegion(int)" data-text="setLiveRegion">setLiveRegion</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setLiveRegion (int mode)</pre>
    
    

    
  <p>Sets the node's live region mode.
 <p>
 <strong>Note:</strong> Cannot be called from an
 <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>. This class is
 made immutable before being delivered to an AccessibilityService.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">mode</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The live region mode, or
        <code translate="no" dir="ltr"><a href="/reference/android/view/View#ACCESSIBILITY_LIVE_REGION_NONE">View#ACCESSIBILITY_LIVE_REGION_NONE</a></code> if the view is not a
        live region.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/View#setAccessibilityLiveRegion(int)">View.setAccessibilityLiveRegion(int)</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setLongClickable(boolean)" data-text="setLongClickable">setLongClickable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setLongClickable (boolean longClickable)</pre>
    
    

    
  <p>Sets whether this node is long clickable.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">longClickable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is long clickable.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="21">
    <h3 class="api-name" id="setMaxTextLength(int)" data-text="setMaxTextLength">setMaxTextLength</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 21</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setMaxTextLength (int max)</pre>
    
    

    
  <p>Sets the maximum text length, or -1 for no limit.
 <p>
 Typically used to indicate that an editable text field has a limit on
 the number of characters entered.
 <p>
 <strong>Note:</strong> Cannot be called from an
 <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
 This class is made immutable before being delivered to an AccessibilityService.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">max</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The maximum text length.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getMaxTextLength()">getMaxTextLength()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="setMinDurationBetweenContentChanges(java.time.Duration)" data-text="setMinDurationBetweenContentChanges">setMinDurationBetweenContentChanges</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setMinDurationBetweenContentChanges (<a href="/reference/java/time/Duration">Duration</a> duration)</pre>
    
    

    
  <p>Sets the minimum time duration between two content change events, which is used in throttling
 content change events in accessibility services.

 <p>
 Example: An app can set MinMillisBetweenContentChanges as 1 min for a view which sends
 content change events to accessibility services one event per second.
 Accessibility service will throttle those content change events and only handle one event
 per minute for that view.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">duration</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Duration</code>: the minimum duration between content change events.
                                         Negative duration would be treated as zero.
 
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityEvent#getContentChangeTypes()">for all content change types.</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="setMovementGranularities(int)" data-text="setMovementGranularities">setMovementGranularities</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setMovementGranularities (int granularities)</pre>
    
    

    
  <p>Sets the movement granularities for traversing the text of this node.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">granularities</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The bit mask with granularities.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setMultiLine(boolean)" data-text="setMultiLine">setMultiLine</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setMultiLine (boolean multiLine)</pre>
    
    

    
  <p>Sets if the node is a multi line editable text.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">multiLine</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is multi line.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setPackageName(java.lang.CharSequence)" data-text="setPackageName">setPackageName</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setPackageName (<a href="/reference/java/lang/CharSequence">CharSequence</a> packageName)</pre>
    
    

    
  <p>Sets the package this node comes from.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">packageName</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The package name.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="28">
    <h3 class="api-name" id="setPaneTitle(java.lang.CharSequence)" data-text="setPaneTitle">setPaneTitle</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setPaneTitle (<a href="/reference/java/lang/CharSequence">CharSequence</a> paneTitle)</pre>
    
    

    
  <p>If this node represents a visually distinct region of the screen that may update separately
 from the rest of the window, it is considered a pane. Set the pane title to indicate that
 the node is a pane, and to provide a title for it.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">paneTitle</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The title of the pane represented by this node.
 
 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="setParent(android.view.View,%20int)" data-text="setParent">setParent</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setParent (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Sets the parent to be a virtual descendant of the given <code translate="no" dir="ltr">root</code>.
 If <code translate="no" dir="ltr">virtualDescendantId</code> equals to <code translate="no" dir="ltr"><a href="/reference/android/view/View#NO_ID">View#NO_ID</a></code> the root
 is set as the parent.
 <p>
 A virtual descendant is an imaginary View that is reported as a part of the view
 hierarchy for accessibility purposes. This enables custom views that draw complex
 content to report them selves as a tree of virtual views, thus conveying their
 logical structure.
 </p>
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setParent(android.view.View)" data-text="setParent">setParent</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setParent (<a href="/reference/android/view/View">View</a> parent)</pre>
    
    

    
  <p>Sets the parent.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">parent</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The parent.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setPassword(boolean)" data-text="setPassword">setPassword</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setPassword (boolean password)</pre>
    
    

    
  <p>Sets whether this node is a password.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">password</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is a password.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="34">
    <h3 class="api-name" id="setQueryFromAppProcessEnabled(android.view.View,%20boolean)" data-text="setQueryFromAppProcessEnabled">setQueryFromAppProcessEnabled</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setQueryFromAppProcessEnabled (<a href="/reference/android/view/View">View</a> view, 
                boolean enabled)</pre>
    
    

    
  <p>Connects this node to the View's root so that operations on this node can query the entire
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> tree and perform accessibility actions on nodes.

 <p>
 Testing or debugging tools should create this <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> node using
 <code translate="no" dir="ltr"><a href="/reference/android/view/View#createAccessibilityNodeInfo()">View#createAccessibilityNodeInfo()</a></code> or <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeProvider">AccessibilityNodeProvider</a></code> and call this
 method, then navigate and interact with the node tree by calling methods on the node.
 Calling this method more than once on the same node is a no-op. After calling this method,
 all nodes linked to this node (children, ancestors, etc.) are also queryable.
 </p>

 <p>
 Here "query" refers to the following node operations:
 <li>check properties of this node (example: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#isScrollable()">isScrollable()</a></code>)</li>
 <li>find and query children (example: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getChild(int)">getChild(int)</a></code>)</li>
 <li>find and query the parent (example: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getParent()">getParent()</a></code>)</li>
 <li>find focus (examples: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#findFocus(int)">findFocus(int)</a></code>, <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#focusSearch(int)">focusSearch(int)</a></code>)</li>
 <li>find and query other nodes (example: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#findAccessibilityNodeInfosByText(java.lang.String)">findAccessibilityNodeInfosByText(java.lang.String)</a></code>,
 <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#findAccessibilityNodeInfosByViewId(java.lang.String)">findAccessibilityNodeInfosByViewId(java.lang.String)</a></code>)</li>
 <li>perform actions (example: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#performAction(int)">performAction(int)</a></code>)</li>
 </p>

 <p>
 This is intended for short-lived inspections from testing or debugging tools in the app
 process, as operations on this node tree will only succeed as long as the associated
 view hierarchy remains attached to a window. <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo">AccessibilityNodeInfo</a></code> objects can
 quickly become out of sync with their corresponding <code translate="no" dir="ltr"><a href="/reference/android/view/View">View</a></code> objects; if you wish to
 inspect a changed or different view hierarchy then create a new node from any view in that
 hierarchy and call this method on that new node, instead of disabling & re-enabling the
 connection on the previous node.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">view</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The view that generated this node, or any view in the same view-root hierarchy.
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">enabled</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: Whether to enable (true) or disable (false) querying from the app process.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>, or if provided
                               a <code translate="no" dir="ltr"><a href="/reference/android/view/View">View</a></code> that is not attached to a window.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="19">
    <h3 class="api-name" id="setRangeInfo(android.view.accessibility.AccessibilityNodeInfo.RangeInfo)" data-text="setRangeInfo">setRangeInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 19</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setRangeInfo (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.RangeInfo">AccessibilityNodeInfo.RangeInfo</a> rangeInfo)</pre>
    
    

    
  <p>Sets the range info if this node is a range.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">rangeInfo</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo.RangeInfo</code>: The range info.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="34">
    <h3 class="api-name" id="setRequestInitialAccessibilityFocus(boolean)" data-text="setRequestInitialAccessibilityFocus">setRequestInitialAccessibilityFocus</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 34</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setRequestInitialAccessibilityFocus (boolean requestInitialAccessibilityFocus)</pre>
    
    

    
  <p>Sets whether the node has requested initial accessibility focus.

 <p>
 If the node <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#hasRequestInitialAccessibilityFocus()">hasRequestInitialAccessibilityFocus()</a></code>, this node would be one of
 candidates to be accessibility focused when the window appears.
 </p>

 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">requestInitialAccessibilityFocus</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node requests to receive initial
                                         accessibility focus.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="28">
    <h3 class="api-name" id="setScreenReaderFocusable(boolean)" data-text="setScreenReaderFocusable">setScreenReaderFocusable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setScreenReaderFocusable (boolean screenReaderFocusable)</pre>
    
    

    
  <p>Sets whether the node should be considered a focusable unit by a screen reader.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">screenReaderFocusable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: <code translate="no" dir="ltr">true</code> if the node is a focusable unit for screen readers,
                              <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setScrollable(boolean)" data-text="setScrollable">setScrollable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setScrollable (boolean scrollable)</pre>
    
    

    
  <p>Sets if the node is scrollable.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">scrollable</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is scrollable, false otherwise.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setSelected(boolean)" data-text="setSelected">setSelected</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setSelected (boolean selected)</pre>
    
    

    
  <p>Sets whether this node is selected.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">selected</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node is selected.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="26">
    <h3 class="api-name" id="setShowingHintText(boolean)" data-text="setShowingHintText">setShowingHintText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 26</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setShowingHintText (boolean showingHintText)</pre>
    
    

    
  <p>Sets whether the node's text represents a hint for the user to enter text. It should only
 be <code translate="no" dir="ltr">true</code> if the node has editable text.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">showingHintText</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: <code translate="no" dir="ltr">true</code> if the text in the node represents a hint to the user,
 <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setSource(android.view.View)" data-text="setSource">setSource</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setSource (<a href="/reference/android/view/View">View</a> source)</pre>
    
    

    
  <p>Sets the source.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">source</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The info source.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="setSource(android.view.View,%20int)" data-text="setSource">setSource</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setSource (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Sets the source to be a virtual descendant of the given <code translate="no" dir="ltr">root</code>.
 If <code translate="no" dir="ltr">virtualDescendantId</code> is <code translate="no" dir="ltr"><a href="/reference/android/view/View#NO_ID">View#NO_ID</a></code> the root
 is set as the source.
 <p>
 A virtual descendant is an imaginary View that is reported as a part of the view
 hierarchy for accessibility purposes. This enables custom views that draw complex
 content to report themselves as a tree of virtual views, thus conveying their
 logical structure.
 </p>
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="30">
    <h3 class="api-name" id="setStateDescription(java.lang.CharSequence)" data-text="setStateDescription">setStateDescription</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 30</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setStateDescription (<a href="/reference/java/lang/CharSequence">CharSequence</a> stateDescription)</pre>
    
    

    
  <p>Sets the state description of this node.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">stateDescription</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: the state description of this node.

 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="setText(java.lang.CharSequence)" data-text="setText">setText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setText (<a href="/reference/java/lang/CharSequence">CharSequence</a> text)</pre>
    
    

    
  <p>Sets the text of this node.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">text</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The text.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="29">
    <h3 class="api-name" id="setTextEntryKey(boolean)" data-text="setTextEntryKey">setTextEntryKey</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 29</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTextEntryKey (boolean isTextEntryKey)</pre>
    
    

    
  <p>Sets whether the node represents a text entry key that is part of a keyboard or keypad.

 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">isTextEntryKey</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: <code translate="no" dir="ltr">true</code> if the node is a text entry key, <code translate="no" dir="ltr">false</code> otherwise.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="33">
    <h3 class="api-name" id="setTextSelectable(boolean)" data-text="setTextSelectable">setTextSelectable</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTextSelectable (boolean selectableText)</pre>
    
    

    
  <p>Sets if the node has selectable text.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">selectableText</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: True if the node has selectable text, false otherwise.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="18">
    <h3 class="api-name" id="setTextSelection(int,%20int)" data-text="setTextSelection">setTextSelection</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTextSelection (int start, 
                int end)</pre>
    
    

    
  <p>Sets the text selection start and end.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">start</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The text selection start.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">end</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The text selection end.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="28">
    <h3 class="api-name" id="setTooltipText(java.lang.CharSequence)" data-text="setTooltipText">setTooltipText</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 28</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTooltipText (<a href="/reference/java/lang/CharSequence">CharSequence</a> tooltipText)</pre>
    
    

    
  <p>Sets the tooltip text of this node.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">tooltipText</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">CharSequence</code>: The tooltip text.

 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="29">
    <h3 class="api-name" id="setTouchDelegateInfo(android.view.accessibility.AccessibilityNodeInfo.TouchDelegateInfo)" data-text="setTouchDelegateInfo">setTouchDelegateInfo</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 29</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTouchDelegateInfo (<a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">AccessibilityNodeInfo.TouchDelegateInfo</a> delegatedInfo)</pre>
    
    

    
  <p>Set touch delegate info if the represented view has a <code translate="no" dir="ltr"><a href="/reference/android/view/TouchDelegate">TouchDelegate</a></code>.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an
   AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">delegatedInfo</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">AccessibilityNodeInfo.TouchDelegateInfo</code>: <code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo.TouchDelegateInfo">TouchDelegateInfo</a></code> returned from
         <code translate="no" dir="ltr"><a href="/reference/android/view/TouchDelegate#getTouchDelegateInfo()">TouchDelegate#getTouchDelegateInfo()</a></code>.

 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="22">
    <h3 class="api-name" id="setTraversalAfter(android.view.View)" data-text="setTraversalAfter">setTraversalAfter</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 22</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTraversalAfter (<a href="/reference/android/view/View">View</a> view)</pre>
    
    

    
  <p>Sets the view whose node is visited after this one in accessibility traversal.
 A screen-reader must visit the content of the other node before the content
 of this one.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">view</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The previous view.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTraversalAfter()">getTraversalAfter()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="22">
    <h3 class="api-name" id="setTraversalAfter(android.view.View,%20int)" data-text="setTraversalAfter">setTraversalAfter</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 22</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTraversalAfter (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Sets the node after which this one is visited in accessibility traversal.
 A screen-reader must visit the content of the other node before the content
 of this one. If <code translate="no" dir="ltr">virtualDescendantId</code> equals to <code translate="no" dir="ltr"><a href="/reference/android/view/View#NO_ID">View#NO_ID</a></code>
 the root is set as the predecessor.
 <p>
 A virtual descendant is an imaginary View that is reported as a part of the view
 hierarchy for accessibility purposes. This enables custom views that draw complex
 content to report them selves as a tree of virtual views, thus conveying their
 logical structure.
 </p>
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="22">
    <h3 class="api-name" id="setTraversalBefore(android.view.View)" data-text="setTraversalBefore">setTraversalBefore</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 22</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTraversalBefore (<a href="/reference/android/view/View">View</a> view)</pre>
    
    

    
  <p>Sets the view before whose node this one should be visited during traversal. A
 screen-reader must visit the content of this node before the content of the one
 it precedes.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">view</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The view providing the preceding node.</p></td>
      </tr>
    </table>
  <div>
      <p><b>See also:</b></p>
      <ul class="nolist"><li><code translate="no" dir="ltr"><a href="/reference/android/view/accessibility/AccessibilityNodeInfo#getTraversalBefore()">getTraversalBefore()</a></code></li>
      </ul>
  </div>

</div>

<div data-version-added="22">
    <h3 class="api-name" id="setTraversalBefore(android.view.View,%20int)" data-text="setTraversalBefore">setTraversalBefore</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 22</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setTraversalBefore (<a href="/reference/android/view/View">View</a> root, 
                int virtualDescendantId)</pre>
    
    

    
  <p>Sets the node before which this one is visited during traversal. A screen-reader
 must visit the content of this node before the content of the one it precedes.
 The successor is a virtual descendant of the given <code translate="no" dir="ltr">root</code>. If
 <code translate="no" dir="ltr">virtualDescendantId</code> equals to <code translate="no" dir="ltr"><a href="/reference/android/view/View#NO_ID">View#NO_ID</a></code> the root is set
 as the successor.
 <p>
 A virtual descendant is an imaginary View that is reported as a part of the view
 hierarchy for accessibility purposes. This enables custom views that draw complex
 content to report them selves as a tree of virtual views, thus conveying their
 logical structure.
 </p>
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">root</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">View</code>: The root of the virtual subtree.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">virtualDescendantId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: The id of the virtual descendant.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="33">
    <h3 class="api-name" id="setUniqueId(java.lang.String)" data-text="setUniqueId">setUniqueId</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 33</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setUniqueId (<a href="/reference/java/lang/String">String</a> uniqueId)</pre>
    
    

    
  <p>Sets the unique id to act as a key to identify the node. If the node instance is replaced
 after refreshing the layout, calling this API to assign the same unique id to the new
 alike node can help accessibility service to identify it.</p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">uniqueId</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">String</code>: The unique id that is associated with a visible node on the screen
 
 This value may be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="18">
    <h3 class="api-name" id="setViewIdResourceName(java.lang.String)" data-text="setViewIdResourceName">setViewIdResourceName</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 18</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setViewIdResourceName (<a href="/reference/java/lang/String">String</a> viewIdResName)</pre>
    
    

    
  <p>Sets the fully qualified resource name of the source view's id.

 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">viewIdResName</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">String</code>: The id resource name.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="16">
    <h3 class="api-name" id="setVisibleToUser(boolean)" data-text="setVisibleToUser">setVisibleToUser</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 16</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void setVisibleToUser (boolean visibleToUser)</pre>
    
    

    
  <p>Sets whether this node is visible to the user.
 <p>
   <strong>Note:</strong> Cannot be called from an
   <code translate="no" dir="ltr"><a href="/reference/android/accessibilityservice/AccessibilityService">AccessibilityService</a></code>.
   This class is made immutable before being delivered to an AccessibilityService.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">visibleToUser</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">boolean</code>: Whether the node is visible to the user.</p></td>
      </tr>
    </table>
      <table class="responsive">
      <tr><th colspan=2>Throws</th></tr>
        <tr>
          <td><code translate="no" dir="ltr"><a href="/reference/java/lang/IllegalStateException">IllegalStateException</a></code></td>
          <td width="100%">If called from an AccessibilityService.</td>
        </tr>
      </table>
  

</div>

<div data-version-added="14">
    <h3 class="api-name" id="toString()" data-text="toString">toString</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public <a href="/reference/java/lang/String">String</a> toString ()</pre>
    
    

    
  <p>Returns a string representation of the object. In general, the
 <code translate="no" dir="ltr">toString</code> method returns a string that
 "textually represents" this object. The result should
 be a concise but informative representation that is easy for a
 person to read.
 It is recommended that all subclasses override this method.
 <p>
 The <code translate="no" dir="ltr">toString</code> method for class <code translate="no" dir="ltr">Object</code>
 returns a string consisting of the name of the class of which the
 object is an instance, the at-sign character `<code translate="no" dir="ltr">@</code>', and
 the unsigned hexadecimal representation of the hash code of the
 object. In other words, this method returns a string equal to the
 value of:
 <blockquote>
 <pre translate="no" dir="ltr">
 getClass().getName() + '@' + Integer.toHexString(hashCode())
 </pre></blockquote></p></p>
    <table class="responsive">
      <tr><th colspan=2>Returns</th></tr>
      <tr>
        <td><code translate="no" dir="ltr"><a href="/reference/java/lang/String">String</a></code></td>
        <td width="100%">a string representation of the object.</p></td>
      </tr>
    </table>

</div>

<div data-version-added="14">
    <h3 class="api-name" id="writeToParcel(android.os.Parcel,%20int)" data-text="writeToParcel">writeToParcel</h3>
    <div class="api-level">
      <div>
    Added in <a href="/guide/topics/manifest/uses-sdk-element#ApiLevels">API level 14</a>
  </div>
      
  

    </div>
<pre class="api-signature no-pretty-print" translate="no" dir="ltr">
public void writeToParcel (<a href="/reference/android/os/Parcel">Parcel</a> parcel, 
                int flags)</pre>
    
    

    
  <p>Flatten this object in to a Parcel.
 <p>
   <strong>Note:</strong> After the instance is written to a parcel it
      is recycled. You must not touch the object after calling this function.
 </p></p></p>
    <table class="responsive">
    <tr><th colspan=2>Parameters</th></tr>
      <tr>
        <td><code translate="no" dir="ltr">parcel</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">Parcel</code>: The Parcel in which the object should be written.
 This value cannot be <code translate="no" dir="ltr">null</code>.</p></td>
      </tr>
      <tr>
        <td><code translate="no" dir="ltr">flags</code></td>
        <td width="100%">
          <code translate="no" dir="ltr">int</code>: Additional flags about how the object should be written.
 May be 0 or <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE">Parcelable.PARCELABLE_WRITE_RETURN_VALUE</a></code>.
 
 Value is either <code translate="no" dir="ltr">0</code> or a combination of <code translate="no" dir="ltr"><a href="/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE">Parcelable.PARCELABLE_WRITE_RETURN_VALUE</a></code>, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES</p></td>
      </tr>
    </table>

</div>





<!-- ========= METHOD DETAIL ======== -->



<!-- ========= END OF CLASS DATA ========= -->

</div><!-- end jd-content -->


</div><!-- end devsite ReferenceObject -->

  

  
    <devsite-hats-survey class="nocontent"
      hats-id="onAFgYxTD0kxBYCLVTd0Z41p75CM"
      listnr-id="5207477"></devsite-hats-survey>
  
</div>

  

  
    
      <devsite-recommendations display="in-page" hidden yield>
      </devsite-recommendations>
    
    
      
    <devsite-thumb-rating position="footer">
    </devsite-thumb-rating>
  
       
    
    
      <devsite-recommendations id="recommendations-link" yield></devsite-recommendations>
    
  

  
  
</article>


<devsite-content-footer class="nocontent">
  <p>Content and code samples on this page are subject to the licenses described in the <a href="/license">Content License</a>. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.</p>
  <p>Last updated 2023-06-07 UTC.</p>
</devsite-content-footer>


<devsite-notification
>
</devsite-notification>


  
<div class="devsite-content-data">
  <template class="devsite-thumb-rating-down-categories">
  [{
      "type": "thumb-down",
      "id": "missingTheInformationINeed",
      "label":"Missing the information I need"
    },{
      "type": "thumb-down",
      "id": "tooComplicatedTooManySteps",
      "label":"Too complicated / too many steps"
    },{
      "type": "thumb-down",
      "id": "outOfDate",
      "label":"Out of date"
    },{
      "type": "thumb-down",
      "id": "samplesCodeIssue",
      "label":"Samples / code issue"
    },{
      "type": "thumb-down",
      "id": "otherDown",
      "label":"Other"
    }]
  </template>
  <template class="devsite-thumb-rating-up-categories">
  [{
      "type": "thumb-up",
      "id": "easyToUnderstand",
      "label":"Easy to understand"
    },{
      "type": "thumb-up",
      "id": "solvedMyProblem",
      "label":"Solved my problem"
    },{
      "type": "thumb-up",
      "id": "otherUp",
      "label":"Other"
    }]
  </template>
  
</div>
            
          </devsite-content>
        </main>
        <devsite-footer-promos class="devsite-footer">
          
            

<nav class="devsite-footer-promos nocontent" aria-label="Promotions">
  <ul class="devsite-footer-promos-list">
    
    <li class="devsite-footer-promo">
      <a href="//x.com/AndroidDev"
         class="devsite-footer-promo-title gc-analytics-event"
         data-category="Site-Wide Custom Events"
       
       
         data-label="Footer X Promo"
       >
        
        
          
            <img class="devsite-footer-promo-icon"
                 src="/_static/android/images/logo-x.svg"
                 loading="lazy"
                 alt="X">
          
        
        X
      </a>
      <div class="devsite-footer-promo-description">Follow @AndroidDev on X</div>
    </li>
    
    <li class="devsite-footer-promo">
      <a href="//www.youtube.com/user/androiddevelopers"
         class="devsite-footer-promo-title gc-analytics-event"
         data-category="Site-Wide Custom Events"
       
       
         data-label="Footer YouTube Promo"
       >
        
        
          
            <img class="devsite-footer-promo-icon"
                 src="//www.gstatic.com/images/icons/material/product/2x/youtube_48dp.png"
                 loading="lazy"
                 alt="YouTube">
          
        
        YouTube
      </a>
      <div class="devsite-footer-promo-description">Check out Android Developers on YouTube</div>
    </li>
    
    <li class="devsite-footer-promo">
      <a href="//www.linkedin.com/showcase/androiddev"
         class="devsite-footer-promo-title gc-analytics-event"
         data-category="Site-Wide Custom Events"
       
       
         data-label="Footer LinkedIn Promo"
       >
        
        
          
            <img class="devsite-footer-promo-icon"
                 src="/_static/android/images/logo-linkedin.svg"
                 loading="lazy"
                 alt="LinkedIn">
          
        
        LinkedIn
      </a>
      <div class="devsite-footer-promo-description">Connect with the Android Developers community on LinkedIn</div>
    </li>
    
  </ul>
</nav>

          
        </devsite-footer-promos>
        <devsite-footer-linkboxes class="devsite-footer">
          
            
<nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links">
  
  <ul class="devsite-footer-linkboxes-list">
    
    <li class="devsite-footer-linkbox ">
    <h3 class="devsite-footer-linkbox-heading no-link">More Android</h3>
      <ul class="devsite-footer-linkbox-list">
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//www.android.com"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 1)"
            >
            
          
            Android
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//www.android.com/enterprise/"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 2)"
            >
            
          
            Android for Enterprise
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//www.android.com/security-center/"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 3)"
            >
            
          
            Security
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//source.android.com"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 4)"
            >
            
          
            Source
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/news"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 5)"
            >
            
          
            News
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//android-developers.googleblog.com/"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 6)"
            >
            
          
            Blog
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/podcasts"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 7)"
            >
            
              
              
            
          
            Podcasts
          
          </a>
          
          
        </li>
        
      </ul>
    </li>
    
    <li class="devsite-footer-linkbox ">
    <h3 class="devsite-footer-linkbox-heading no-link">Discover</h3>
      <ul class="devsite-footer-linkbox-list">
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/games"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 1)"
            >
            
          
            Gaming
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/ml"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 2)"
            >
            
          
            Machine Learning
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/privacy"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 3)"
            >
            
          
            Privacy
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/training/connectivity/5g"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 4)"
            >
            
              
              
            
          
            5G
          
          </a>
          
          
        </li>
        
      </ul>
    </li>
    
    <li class="devsite-footer-linkbox ">
    <h3 class="devsite-footer-linkbox-heading no-link">Android Devices</h3>
      <ul class="devsite-footer-linkbox-list">
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/large-screens"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 1)"
            >
            
          
            Large screens
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/wear"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 2)"
            >
            
          
            Wear OS
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/chrome-os"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 3)"
            >
            
          
            ChromeOS devices
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/cars"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 4)"
            >
            
          
            Android for cars
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/things"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 5)"
            >
            
          
            Android Things
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/tv"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 6)"
            >
            
              
              
            
          
            Android TV
          
          </a>
          
          
        </li>
        
      </ul>
    </li>
    
    <li class="devsite-footer-linkbox ">
    <h3 class="devsite-footer-linkbox-heading no-link">Releases</h3>
      <ul class="devsite-footer-linkbox-list">
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/about/versions/13"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 1)"
            >
            
          
            Android 13
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/about/versions/12"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 2)"
            >
            
          
            Android 12
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/about/versions/11"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 3)"
            >
            
          
            Android 11
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/about/versions/10"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 4)"
            >
            
          
            Android 10
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/about/versions/pie"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 5)"
            >
            
          
            Pie
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/about/versions/oreo"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 6)"
            >
            
          
            Oreo
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/about/versions/nougat"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 7)"
            >
            
              
              
            
          
            Nougat
          
          </a>
          
          
        </li>
        
      </ul>
    </li>
    
    <li class="devsite-footer-linkbox ">
    <h3 class="devsite-footer-linkbox-heading no-link">Documentation and Downloads</h3>
      <ul class="devsite-footer-linkbox-list">
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/studio/intro"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 1)"
            >
            
          
            Android Studio guide
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/guide"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 2)"
            >
            
          
            Developers guides
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/reference"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 3)"
            >
            
          
            API reference
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/studio"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 4)"
            >
            
          
            Download Studio
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="/ndk"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 5)"
            >
            
              
              
            
          
            Android NDK
          
          </a>
          
          
        </li>
        
      </ul>
    </li>
    
    <li class="devsite-footer-linkbox ">
    <h3 class="devsite-footer-linkbox-heading no-link">Support</h3>
      <ul class="devsite-footer-linkbox-list">
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//issuetracker.google.com/issues/new?component=190923&amp;template=841312"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 1)"
            >
            
          
            Report platform bug
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//issuetracker.google.com/issues/new?component=192697"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 2)"
            >
            
          
            Report documentation bug
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="//support.google.com/googleplay/android-developer"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 3)"
            >
            
          
            Google Play support
          
          </a>
          
          
        </li>
        
        <li class="devsite-footer-linkbox-item">
          
          <a href="https://g.co/userresearch/androiddeveloperfooter"
             class="devsite-footer-linkbox-link gc-analytics-event"
             data-category="Site-Wide Custom Events"
            
             data-label="Footer Link (index 4)"
            >
            
              
              
            
          
            Join research studies
          
          </a>
          
          
        </li>
        
      </ul>
    </li>
    
  </ul>
  
</nav>
          
        </devsite-footer-linkboxes>
        <devsite-footer-utility class="devsite-footer">
          
            

<div class="devsite-footer-utility nocontent">
  
  
  <nav class="devsite-footer-sites" aria-label="Other Google Developers websites">
    <a href="https://developers.google.com/"
       class="devsite-footer-sites-logo-link gc-analytics-event"
       data-category="Site-Wide Custom Events"
       data-label="Footer Google Developers Link">
      <picture>
        <source srcset="https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/images/lockup-google-for-developers-dark-theme.svg"
                media="(prefers-color-scheme: none)"
                class="devsite-dark-theme"
                loading="lazy"
                alt="Google Developers">
        <img class="devsite-footer-sites-logo"
             src="https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/images/lockup-google-for-developers.svg"
             loading="lazy"
             alt="Google Developers">
      </picture>
    </a>
    <ul class="devsite-footer-sites-list">
      
      <li class="devsite-footer-sites-item">
        <a href="//developer.android.com"
           class="devsite-footer-sites-link
                  gc-analytics-event"
           data-category="Site-Wide Custom Events"
         
           data-label="Footer Android Link"
         
         >
          Android
        </a>
      </li>
      
      <li class="devsite-footer-sites-item">
        <a href="//developer.chrome.com/home"
           class="devsite-footer-sites-link
                  gc-analytics-event"
           data-category="Site-Wide Custom Events"
         
           data-label="Footer Chrome Link"
         
         >
          Chrome
        </a>
      </li>
      
      <li class="devsite-footer-sites-item">
        <a href="//firebase.google.com"
           class="devsite-footer-sites-link
                  gc-analytics-event"
           data-category="Site-Wide Custom Events"
         
           data-label="Footer Firebase Link"
         
         >
          Firebase
        </a>
      </li>
      
      <li class="devsite-footer-sites-item">
        <a href="//cloud.google.com"
           class="devsite-footer-sites-link
                  gc-analytics-event"
           data-category="Site-Wide Custom Events"
         
           data-label="Footer Google Cloud Platform Link"
         
         >
          Google Cloud Platform
        </a>
      </li>
      
      <li class="devsite-footer-sites-item">
        <a href="//developers.google.com/products/"
           class="devsite-footer-sites-link
                  gc-analytics-event"
           data-category="Site-Wide Custom Events"
         
           data-label="Footer All products Link"
         
         >
          All products
        </a>
      </li>
      
    </ul>
  </nav>
  

  
  <nav class="devsite-footer-utility-links" aria-label="Utility links">
    
    <ul class="devsite-footer-utility-list">
      
      <li class="devsite-footer-utility-item
                 ">
        
        
        <a class="devsite-footer-utility-link gc-analytics-event"
           href="//policies.google.com/privacy"
           data-category="Site-Wide Custom Events"
           data-label="Footer Privacy link"
         >
          Privacy
        </a>
        
      </li>
      
      <li class="devsite-footer-utility-item
                 ">
        
        
        <a class="devsite-footer-utility-link gc-analytics-event"
           href="/license"
           data-category="Site-Wide Custom Events"
           data-label="Footer License link"
         >
          License
        </a>
        
      </li>
      
      <li class="devsite-footer-utility-item
                 ">
        
        
        <a class="devsite-footer-utility-link gc-analytics-event"
           href="/distribute/marketing-tools/brand-guidelines"
           data-category="Site-Wide Custom Events"
           data-label="Footer Brand guidelines link"
         >
          Brand guidelines
        </a>
        
      </li>
      
      <li class="devsite-footer-utility-item
                 devsite-footer-utility-button">
        
        <span class="devsite-footer-utility-description">Get news and tips by email</span>
        
        
        <a class="devsite-footer-utility-link gc-analytics-event"
           href="/updates"
           data-category="Site-Wide Custom Events"
           data-label="Footer Subscribe link"
         >
          Subscribe
        </a>
        
      </li>
      
    </ul>
    
    
<devsite-language-selector>
  <ul role="presentation">
    
    
    <li role="presentation">
      <a role="menuitem" lang="en"
        >English</a>
    </li>
    
    <li role="presentation">
      <a role="menuitem" lang="es_419"
        >Español – América Latina</a>
    </li>
    
    <li role="presentation">
      <a role="menuitem" lang="id"
        >Indonesia</a>
    </li>
    
    <li role="presentation">
      <a role="menuitem" lang="pt_br"
        >Português – Brasil</a>
    </li>
    
    <li role="presentation">
      <a role="menuitem" lang="zh_cn"
        >中文 – 简体</a>
    </li>
    
    <li role="presentation">
      <a role="menuitem" lang="ja"
        >日本語</a>
    </li>
    
    <li role="presentation">
      <a role="menuitem" lang="ko"
        >한국어</a>
    </li>
    
  </ul>
</devsite-language-selector>

  </nav>
</div>
          
        </devsite-footer-utility>
        <devsite-panel></devsite-panel>
        
      </section></section>
    <devsite-sitemask></devsite-sitemask>
    <devsite-snackbar
    
    >
</devsite-snackbar>
    <devsite-tooltip ></devsite-tooltip>
    <devsite-heading-link></devsite-heading-link>
    <devsite-analytics analytics-iframe>
      
        <script type="application/json" analytics>[{&#34;dimensions&#34;: {&#34;dimension11&#34;: false, &#34;dimension4&#34;: &#34;Android Developers&#34;, &#34;dimension1&#34;: &#34;Signed out&#34;, &#34;dimension6&#34;: &#34;en&#34;, &#34;dimension3&#34;: false, &#34;dimension5&#34;: &#34;en&#34;}, &#34;gaid&#34;: &#34;UA-5831155-1&#34;, &#34;metrics&#34;: {&#34;ratings_value&#34;: &#34;metric1&#34;, &#34;ratings_count&#34;: &#34;metric2&#34;}}]</script>
<script type="application/json" tag-management>{&#34;ga4&#34;: [], &#34;ga4p&#34;: [], &#34;gtm&#34;: [&#34;GTM-KMSWPCJ&#34;], &#34;parameters&#34;: {&#34;internalUser&#34;: &#34;False&#34;, &#34;language&#34;: {&#34;machineTranslated&#34;: &#34;False&#34;, &#34;requested&#34;: &#34;en&#34;, &#34;served&#34;: &#34;en&#34;}, &#34;pageType&#34;: &#34;reference&#34;, &#34;projectName&#34;: &#34;Android Developers&#34;, &#34;signedIn&#34;: &#34;False&#34;, &#34;tenant&#34;: &#34;android&#34;, &#34;recommendations&#34;: {&#34;sourcePage&#34;: &#34;&#34;, &#34;sourceType&#34;: 0, &#34;sourceRank&#34;: 0, &#34;sourceIdenticalDescriptions&#34;: 0, &#34;sourceTitleWords&#34;: 0, &#34;sourceDescriptionWords&#34;: 0, &#34;experiment&#34;: &#34;&#34;}, &#34;experiment&#34;: {&#34;ids&#34;: &#34;&#34;}}, &#34;tags&#34;: [&#34;GTM-KMSWPCJ&#34;]}</script>
      
    </devsite-analytics>
    
      <devsite-badger></devsite-badger>
    
    
<android-fully-clickable
    target="
        .android-case-study .devsite-landing-row-item,
        .android-grouped-resources .devsite-landing-row-item,
        .android-illustrated-resources-index .devsite-landing-row-item,
        .android-illustrated-resources-primary .devsite-landing-row-item,
        .android-illustrated-resources-secondary .devsite-landing-row-item,
        .android-illustrated-resources-secondary-small .devsite-landing-row-item,
        .android-illustrated-resources-tertiary .devsite-landing-row-item,
        .android-illustrated-resources-tertiary-small .devsite-landing-row-item,
        .android-promo .devsite-landing-row-item,
        .android-quick-link,
        .android-samples .devsite-card-wrapper,
        .fully-clickable"
    watch=".android-samples, devsite-content"></android-fully-clickable>
    <script nonce="cm86PH5HEaOG6MycR7iMKkVLYABLIu">
  
  (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i;
    t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0];
    E.parentNode.insertBefore(t,E);})(window, document, 'script',
    'https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/js/app_loader.js', '[3,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be","https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android","https://android-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/android/manifest.json","https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/images/rebrand/favicon.svg","https://www.gstatic.com/devrel-devsite/prod/va65162e8ce9aacc75e4d3c0cd6d166fc6ceaaf184fea0ff0eac1d9b62c0480be/android/images/rebrand/lockup.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500,600,700|Google+Sans+Text:400,400italic,500,500italic,600,600italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,40,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,111,112,113,115,116,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,144,147,148,149,150,151,152,154,155,156,157,158,159,161,163,164,165,168,169,170,172,173,179,180,182,183,186,190,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","developer.android.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["Badges__enable_hide_badges","Cloud__enable_free_trial_server_call","BookNav__enable_collapsible_book_nav","Cloud__enable_cloud_shell","Search__enable_devsite_serp","Profiles__enable_searchable_interests","Profiles__enable_public_developer_profiles","Profiles__enable_inferred_interests","MiscFeatureFlags__enable_tls_version_for_gaia_calls","MiscFeatureFlags__enable_explain_this_code","Profiles__enable_developer_profiles_dashboard_recommendations","SignIn__enable_auto_signin_oauth","Search__enable_suggestions_from_borg","Concierge__enable_pushui","MiscFeatureFlags__enable_project_variables","BookNav__enable_tenant_cache_key","Profiles__enable_profile_collections","OpenInReplit__enable_replit","ContentExcellence__enable_googler_button","Profiles__enable_page_saving","Profiles__enable_developer_profiles_interests","ContentExcellence__enable_verified_date","Rebranding__enable_rebranding","MiscFeatureFlags__enable_keyword_inheritance","MiscFeatureFlags__content_publisher_push_queue","Significatio__enable_by_tenant","Significatio__enable_experiment_id_caching","Cloud__enable_cloudx_experiment_ids","Cloud__enable_cloudx_ping","BookNav__enable_book_nav_filtering","Profiles__enable_awarding_url","Search__enable_page_map","MiscFeatureFlags__emergency_css","MiscFeatureFlags__enable_firebase_utm","Badges__enable_drag_and_drop_badges","Experiments__reqs_query_experiments","Profiles__enable_profile_notifications_ui","Profiles__enable_profile_communities","Cloud__enable_cloud_facet_chat","Localization__enable_locale_redirects","AuthorPageInsights__enable_author_page_insights","Profiles__enable_developer_profiles_callout","Profiles__require_profile_eligibility_for_signin","MiscFeatureFlags__developers_footer_dark_image","Badges__enable_delete_badges","Experiments__enable_experiments","Search__enable_acl_suggestions","Significatio__enable_footprints","Search__enable_dynamic_content_confidential_banner","Search__enable_faceted_search","Cloud__enable_cloud_shell_fte_user_flow","Profiles__enable_suggested_interests","MiscFeatureFlags__developers_footer_image","Cloud__enable_cloud_dlp_service"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.googleapis.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.googleapis.com",2]')
  
</script>
    <devsite-a11y-announce></devsite-a11y-announce>
  </body>
</html>